Hello,
I need help with a printing macro. I have 4 sheets labeled "FINRA PV" and "FINRA Download" along with its corresponding months, and would like to automatically print all of them.
However, I change the name of one them every month. Currently this is what I have:
Which would print my "July" and "June" tabs. But next month it wont work because I will be re-naming the sheets to "July" and "August".
How do I incorporate using the Sheet "number" instead of the title? The sheet numbers displayed in VBA are Sheets 10,11,15, and 16.
I need help with a printing macro. I have 4 sheets labeled "FINRA PV" and "FINRA Download" along with its corresponding months, and would like to automatically print all of them.
However, I change the name of one them every month. Currently this is what I have:
Code:
Sheets("FINRA Jul PV").Select
Range("F19").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
Sheets("FINRA Jul Download").Select
Range("R10").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
Sheets("FINRA Jun PV").Select
Range("F16").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
Sheets("FINRA Jun Download").Select
Range("I11").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
Which would print my "July" and "June" tabs. But next month it wont work because I will be re-naming the sheets to "July" and "August".
How do I incorporate using the Sheet "number" instead of the title? The sheet numbers displayed in VBA are Sheets 10,11,15, and 16.