A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Set a minimum row height a the same time with autofit row height



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2010, 09:38 PM posted to microsoft.public.excel.newusers
Julie B
external usenet poster
 
Posts: 6
Default Set a minimum row height a the same time with autofit row height

I want to set a minimum row height, but allow autofit for anything that is
greater than that height. Is this possible?

i.e. If i have a cell with one line of text, then I'd like to see the
height as 50, as opposed to what the autofit would normally set it as, say
25. Then for any additional lines, autofit will make more than 50 to fit the
lines.
  #2  
Old April 29th, 2010, 11:11 PM posted to microsoft.public.excel.newusers
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Set a minimum row height a the same time with autofit row height

You could use a macro to autofit the row, then check to see if the rowheight is
smaller than your limit and adjust if necessary.

But you may find that it's simpler to put some text in column A that can serve
as the limiting factor.

Then hide that column when you've got it right.

I'm not sure if it's a bug or a feature, but excel will use that hidden cell
when determining the autofit rowheight.



Julie B wrote:

I want to set a minimum row height, but allow autofit for anything that is
greater than that height. Is this possible?

i.e. If i have a cell with one line of text, then I'd like to see the
height as 50, as opposed to what the autofit would normally set it as, say
25. Then for any additional lines, autofit will make more than 50 to fit the
lines.


--

Dave Peterson
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:44 AM.


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