using vb to change row height for a whole worksheet

N

NDBC

I have created a new workbook using vb and now I am trying to change the row
height for the entire sheet "results" to 15.75. My code does not seem to work.


wbNew.Sheets("Results").Select
Selection.RowHeight = 15.75

Thanks for the help.
 
J

Jacob Skaria

It should be

wbNew.Sheets("Results").Rows.Rowheight = 15.75

If this post helps click Yes
 
N

NDBC

Thanks Jacob. I had just worked it out and was going to post it up but you
beat me yet again.

Thanks.
 
J

Jacob Skaria

Oh..Good.. Thanks for your feedback..

I have responded to your other post on 'Selecting range using row and column
number addresses' which I hope would be useful.

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top