DarkJester89
Board Regular
- Joined
- Nov 5, 2017
- Messages
- 109
- Office Version
- 2016
- Platform
- Windows
VBA Code:
Sub AutoFitWrappedText()
With Range("B2:CT2").EntireColumn
.ColumnWidth = 8.5 ' maximum width
.AutoFit
End With
End Sub
I had alot of hidden columns, and this unhides them and autofits them, but just trying to apply to visible columns, thank you