B
Bill Ridgeway
How can you configure Excel to automatically expand column width when
inputting information?
Thanks.
Bill Ridgeway
inputting information?
Thanks.
Bill Ridgeway
Rick Rothstein (MVP - VB) said:I don't know if there is a setting for this (although you could always
highlight the column and click Format/Column/Autofit Selection or double
click the column header's right side column's gridline after making an
entry), but you can use this worksheet event macro to have the column width
automatically reset itself for the longest entry in column...
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Columns(Target.Column).AutoFit
End Sub
Rick
column width when inputting information?" I meant so that the column width
changes automatically at the point in time of pressing <enter> after
inputting data?