This code sets the width of the selected columns to a specified value.
VBA Code:
Sub SetColumnWidth()
Dim columnWidth As Double
columnWidth = 15
Selection.Columns.ColumnWidth = columnWidth
End Sub
This code sets the width of the selected columns to a specified value.
VBA Code:
Sub SetColumnWidth()
Dim columnWidth As Double
columnWidth = 15
Selection.Columns.ColumnWidth = columnWidth
End Sub