Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yeah, I had Min where Max was to be used. Sorry for the
confusion. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Richard" wrote in message ... Chip, Don't know why I didn't see this earlier. Easy fix. You definitely had right idea. Just replace your command "Min" with "Max", i.e. Old: Application.WorksheetFunction.Min(Rng.RowHeight, 30) New: Application.WorksheetFunction.Max(Rng.RowHeight, 30) -- Richard "Chip Pearson" wrote: Try something like Dim Rng As Range For Each Rng In Selection.Cells Rng.RowHeight = Application.WorksheetFunction.Min(Rng.RowHeight, 30) Next Rng -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Richard" wrote in message ... I am using wrapped text. To make sure all the text can be seen, I set the row height using Selection.Rows.AutoFit However, for easy reading, I also want to make sure that no cell heigh has a value less than 30. -- Richard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set a minimum row height a the same time with autofit row height | New Users to Excel | |||
Need a row to autofit height after it's value changes | Excel Discussion (Misc queries) | |||
Minimum cell height while using AUTOFIT? | Excel Discussion (Misc queries) | |||
Autofit Row Height | Excel Discussion (Misc queries) | |||
Autofit row height | Excel Programming |