Feb 23, 2001 #1 wrbodine Programmer Aug 24, 2000 302 US How can I, through VBA code, set the print area (File - Print Area - Set Print Area)?
Feb 23, 2001 #2 RoyVidar Instructor Jun 16, 2000 6,606 NO Hi! Code; ActiveSheet.PageSetup.PrintArea = "$A$1:$B$6" For the area A1:B6 Tip; use Register Macro, do the tings you want, finish registering, and then edit the Code. Excel is fantastic in that way;-) Have fun, Roy-Vidar Upvote 0 Downvote
Hi! Code; ActiveSheet.PageSetup.PrintArea = "$A$1:$B$6" For the area A1:B6 Tip; use Register Macro, do the tings you want, finish registering, and then edit the Code. Excel is fantastic in that way;-) Have fun, Roy-Vidar