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
Post a Comment