I am new to the world of VBA. Just trying to print selected areas of tabs in a workbook. So far I have the following however I am getting an error at the first line... I am a little lost at where to start.
I am happy for the pages to print one after each other to the printer or collate then print as one document (if possible) Just cant figure out where i am going wrong.
Any help would be much appreciated...
Sub Weekly_Compliance_Print()
'
' Weekly_Compliance_Print Macro
'
'
Sheets("Banks Asset Allocation Summary").Select
Range("B1:N40").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
ActiveWindow.SmallScroll Down:=-21
Range("P1:Y27").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Banks Asset Allocation Summary").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager weights").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager Weightings").Select
ActiveWindow.SmallScroll Down:=-12
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager Fees").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Columns("Y:AG").Select
Range("Y3").Activate
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Compliance monitor").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
End Sub
I am happy for the pages to print one after each other to the printer or collate then print as one document (if possible) Just cant figure out where i am going wrong.
Any help would be much appreciated...
Sub Weekly_Compliance_Print()
'
' Weekly_Compliance_Print Macro
'
'
Sheets("Banks Asset Allocation Summary").Select
Range("B1:N40").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
ActiveWindow.SmallScroll Down:=-21
Range("P1:Y27").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Banks Asset Allocation Summary").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager weights").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager Weightings").Select
ActiveWindow.SmallScroll Down:=-12
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Manager Fees").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Columns("Y:AG").Select
Range("Y3").Activate
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Sheets("Compliance monitor").Select
Selection.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
End Sub