There is a macro for columns. You can try the below code and then check back.
Code:
Sub colonnesEnCentimetres ()
Sun cm As Integer, points As Integer, savewidth As Integer
Sun count As Integer
Application.ScreenUpdating = False
Application.InputBox cm = ("enter the column width in cms" "The desired column width", Type: = 1)
If cm = False Then Exit Sub
= Application.CentimetersToPoints points (cm)
savewidth = ActiveCell.ColumnWidth
= 255 ActiveCell.ColumnWidth
If points> Then ActiveCell.Width
MsgBox "width" & cm & "is too broad" & Chr (10) & _
"The maximum value is" & _
Format (ActiveCell.Width / 28.3464566929134, _ "0.00"), vbOKOnly + vbExclamation, "Invalid width"
ActiveCell.ColumnWidth = savewidth
Exit Sub
End If
lowerwidth = 0
= 255 upwidth
ActiveCell.ColumnWidth = 127.5
curwidth = ActiveCell.ColumnWidth
count = 0
While (ActiveCell.Width <> points) And (count <20)
If ActiveCell.Width <points Then
lowerwidth = curwidth
Selection.ColumnWidth = (+ curwidth upwidth) / 2
Else
upwidth = curwidth
Selection.ColumnWidth = (+ curwidth lowerwidth) / 2
End If
curwidth = ActiveCell.ColumnWidth
count = count + 1
Wend
End Sub
Bookmarks