Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adjust Row height to FONT

I am building a spreadsheet thru code.
Is there a way to determine what the row height should be when I change a
FONT and FONT Size?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default Adjust Row height to FONT

Rows("4:4").EntireRow.AutoFit

NickHK

"Joe" hx.gbl...
I am building a spreadsheet thru code.
Is there a way to determine what the row height should be when I change a
FONT and FONT Size?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Adjust Row height to FONT

Or even get all the rows at once...

with worksheets("sheet9999")
.rows.autofit
end with

Joe wrote:

I am building a spreadsheet thru code.
Is there a way to determine what the row height should be when I change a
FONT and FONT Size?

Thanks


--

Dave Peterson
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
adjust cell height johncaleb Excel Discussion (Misc queries) 2 May 6th 10 11:55 PM
Automatic row height adjust ckemler Setting up and Configuration of Excel 1 December 22nd 09 05:26 PM
Adjust row height automatically Jinghui Excel Discussion (Misc queries) 0 May 8th 08 03:23 AM
How do I adjust row height to set cell margins to zero? marina Excel Discussion (Misc queries) 4 August 13th 06 06:11 PM
HOW DO I ADJUST ROW HEIGHT BY PIXEL? western jet Setting up and Configuration of Excel 0 March 8th 06 08:44 PM


All times are GMT +1. The time now is 03:36 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"