View Single Post
  #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