B
bigjim
I'm using excel 2003 and want to print two different areas on a sheet. Here
is the code I'm using, but when I run it, it locks up sending an error report
to MS.
ActiveSheet.PageSetup.PrintArea = "$a$1:$l$64"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveSheet.PageSetup.PrintArea = ""
ActiveSheet.PageSetup.PrintArea = "$a$65:$l$127"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
is the code I'm using, but when I run it, it locks up sending an error report
to MS.
ActiveSheet.PageSetup.PrintArea = "$a$1:$l$64"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveSheet.PageSetup.PrintArea = ""
ActiveSheet.PageSetup.PrintArea = "$a$65:$l$127"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True