![]() |
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. |
Answer: Set a minimum row height a the same time with autofit row height
Yes, it is possible to set a minimum row height and still allow for autofit row height for cells with more content. Here's how you can do it:
That's it! You can now set a minimum row height and still allow for autofit row height for cells with more content. |
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 |
All times are GMT +1. The time now is 06:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com