ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   autofit rowheight after auto change line (https://www.excelbanter.com/excel-programming/288149-autofit-rowheight-after-auto-change-line.html)

RC[_3_]

autofit rowheight after auto change line
 
i'd like to have a macro to auto set the best fit row
height after setting auto line change (justify). I
tried "selection.row.autofit" but it just return the row
height that fit the 1st line in the cell only. Possible
just referenced to the font size only.

Could experts pls help. Tks.

macro beginner

Tom Ogilvy

autofit rowheight after auto change line
 
Selection.EntireRow.Autofit

--
Regards,
Tom Ogilvy

"RC" wrote in message
...
i'd like to have a macro to auto set the best fit row
height after setting auto line change (justify). I
tried "selection.row.autofit" but it just return the row
height that fit the 1st line in the cell only. Possible
just referenced to the font size only.

Could experts pls help. Tks.

macro beginner





All times are GMT +1. The time now is 08:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com