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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -