In the code below, I found out how to make the column widths automatically adjust on a worksheet based on the text entered.
This code works great but it also reveals the hidden columns on the worksheet. Can i prevent it from doing that?
Code
Private Sub Worksheet_Change(ByVal Target As Range)
With Me.Cells
.Columns.AutoFit
End With
End Sub
Found here:
http://www.ozgrid.com/forum/showthread.php?t=59876