excel vba - How to autofit row using a variable -
i'm trying use vba in excel autofit row beforehand stored in variable, can't work. have ideas?
sub test1() dim intyellowrow integer intyellowrow = 18 rows(intyellowrow & ":" & intyellowrow).entirerow .autofit end end sub
you close:
sub test1() dim intyellowrow integer intyellowrow = 18 rows(intyellowrow).entirerow.autofit end sub
Comments
Post a Comment