Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default using vb to change row height for a whole worksheet

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default using vb to change row height for a whole worksheet

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

Thanks.

"Jacob Skaria" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default using vb to change row height for a whole worksheet

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
---------------
Jacob Skaria


"NDBC" wrote:

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

Thanks.

"Jacob Skaria" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change row height bergjes Excel Programming 5 December 28th 06 06:27 PM
Change height of row Pam MacT Excel Discussion (Misc queries) 2 January 5th 05 01:54 AM
How do I change row height to 16.0? I get choice of 15.6 (26 Pix. jlloyd Excel Discussion (Misc queries) 4 December 9th 04 04:47 PM
how do you change a row height in a protected worksheet Vince[_5_] Excel Programming 3 August 1st 04 06:35 AM
UserForm Change Of Height Rockee052[_57_] Excel Programming 3 March 6th 04 07:47 AM


All times are GMT +1. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"