Hello,
I am trying to set a minimum column width for a macro that uses the autofit code. I tried this, but it doesn't seem to work:
With ActiveSheet.Columns.AutoFit
If Columns.ColumnWidth < 10 Then
Columns.ColumnWidth = 10
End If
End With
If possible my preference was to adjust specific columns to 10. Any advice?
Thanks!
I am trying to set a minimum column width for a macro that uses the autofit code. I tried this, but it doesn't seem to work:
With ActiveSheet.Columns.AutoFit
If Columns.ColumnWidth < 10 Then
Columns.ColumnWidth = 10
End If
End With
If possible my preference was to adjust specific columns to 10. Any advice?
Thanks!