PC Review


Reply
Thread Tools Rate Thread

Adjust Row height to FONT

 
 
Joe
Guest
Posts: n/a
 
      19th Oct 2006
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


 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      19th Oct 2006
Rows("4:4").EntireRow.AutoFit

NickHK

"Joe" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:%23G%(E-Mail Removed)...
>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
>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      19th Oct 2006
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
adjust font to label height? =?Utf-8?B?VGltIFJhbWw=?= Microsoft Dot NET Compact Framework 5 23rd Jul 2005 08:09 AM
adjust height from vba =?Utf-8?B?RGFu?= Microsoft Access 1 23rd May 2005 11:44 PM
RE: adjust height from vba =?Utf-8?B?RGFu?= Microsoft Access 0 23rd May 2005 11:15 PM
Does Font.Height or Font.GetHeight() return correct font height? =?Utf-8?B?U2FjaGlu?= Microsoft C# .NET 0 24th Nov 2004 06:25 AM
VBA to adjust Row Height Bob Microsoft Excel Misc 1 9th Apr 2004 09:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 AM.