excel vba - VBA using Rows() -


i need syntax on one. have created integer variable called totaldata hold # of rows data. want format rows, using

rows("5:totaldata").select cannot use "totaldata" in rows function.

can please me figure out way can select of these rows can format them correct size , font.

thanks.

rows("5:" & totaldata).select

note totaldata must > 0

note added note because stackoverflow said answer short.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -