View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default using vb to change row height for a whole worksheet

It should be

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

If this post helps click Yes
---------------
Jacob Skaria


"NDBC" wrote:

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.