Good evening everybody.
I am working on a spreadsheet that has several sheets that are formatted for printing. I have the print area's set up with named ranges and the formatting looks good.
If the user prints 1 sheet only everything is OK, but I have one macro that I am working on to enable the users to select multiple sheets to print.
I am using the printpreview command so they can check the formatting before the actual print. There are buttons with macros on each tab with code like this:
This works great, but I would like to let the user choose multiple areas from different sheets and print it at one time. I have a method in place to select the various ranges, but I can not get them to print.
I tried setting a "Print_All" named range like this:
"Print_All" = "Sheet1_Print","Sheet2_Print","Sheet3_Print"
But i get yelled at by excel because of a global range error (The code is in a Module, not attached directly to one of the sheets)
The idea is that while looking at the preview they could view all pages before confirming that they did want to print.
I also tried something like this
But all that it previews is the last page selected (all of them are highlighted however)
Any Ideas? I am sure it is something relatively simple but I am just brain dead right now
Thanks
Lee
Bookmarks