Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hello there, I would like some help with a macro that I need to run in
a workbook. this is the macro. Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) Columns("A:Z").EntireColumn.AutoFit End Sub what or how do I get it to work for every worksheet in the workbook, I currently place the macro in each worksheet which is very time consuming. Is there a way to place the macro in the workbook so all worksheets have the autofit macro? regards Ditchy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
workbook macro help | Excel Discussion (Misc queries) | |||
Macro in Excel 2002 to save a workbook to a FTP location | Excel Discussion (Misc queries) | |||
Record Macro Relative does not work? | Excel Discussion (Misc queries) | |||
Stubborn toolbars in Excel | Excel Discussion (Misc queries) | |||
Macro and If Statement | Excel Discussion (Misc queries) |