Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
The code below works great ... BUT ... I need it to apply to only columns G and H ...PLUS ... I would like to make this across the 25 worksheets I have. Any ideas? Thanks very much. Private Sub Worksheet_Change(ByVal Target As Range) Me.Application.ActiveWorkbook.RefreshAll Target.EntireColumn.AutoFit On Error Resume Next Target.Dependents.EntireColumn.AutoFit End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Column Autofit | Excel Discussion (Misc queries) | |||
Column AutoFit C API | Excel Programming | |||
how to autofit column widths | New Users to Excel | |||
Column Autofit | Excel Programming | |||
Column Autofit Problem | Excel Programming |