My newest question is in reference to this post. I have a Master macro that calls a macro per sheet in the workbook. I'm getting a Subscript out of range error in response to going from the macro in my previous post in the "Summary" sheet, to another macro in the next sheet. I think I can eliminate the error and make the Master macro work if I can eliminate the sheet .Select statement and call the macro while identifying the sheet in one line. Any help?
How it is now, with the error coming after Call ReformatSummary on Sheets("Boston").Select:
Sub ReformatTheWorkbook()
Sheets("Summary").Select
Call ReformatSummary
Sheets("Boston").Select
Call ReformatSheetAndAddDropdowns
Sheets("London").Select
Call ReformatSheetAndAddDropdowns
Sheets("Hong Kong").Select
Call ReformatSheetAndAddDropdowns
End Sub
This is what I want to do but without the Sheet("name").Select having to identify the next sheet:
Sub ReformatTheWorkbook()
Sheets("Summary").Select
Call ReformatSummary
Application.Run "RefreshAllStaticData"
Application.OnTime Now + TimeValue("00:00:05"), "Part2RTW"
End Sub
Sub Part2RTW()
Sheets("Boston").Select
Call ReformatSheetAndAddDropdowns
Sheets("London").Select
Call ReformatSheetAndAddDropdowns
Sheets("Hong Kong").Select
Call ReformatSheetAndAddDropdowns
End Sub