Hi
I have the following macro and keep getting run time error 450 Wrng number of arguments and invalid prop assignment.
Any Ideas?
I have the following macro and keep getting run time error 450 Wrng number of arguments and invalid prop assignment.
Any Ideas?
VBA Code:
Sheets("CUBIC MACHINES").Select
ActiveSheet.Unprotect , Password = "SH"
Range("A12:M65").Select
Selection.PrintOut Copies:=2, Collate:=True
ActiveSheet.Protect , Password = "SH"
Sheets("Sheet1").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=2, Collate:=True, _
IgnorePrintAreas:=False
End Sub