ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to use vb to control excel to auto fit the lines' width (https://www.excelbanter.com/excel-programming/275404-re-how-use-vbulletin-control-excel-auto-fit-lines-width.html)

LHW[_2_]

how to use vb to control excel to auto fit the lines' width
 
To autofit row 3

Rows("3:3").EntireRow.AutoFit

"dark_wei" wrote in message
...





All times are GMT +1. The time now is 02:03 PM.

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