It did.
To say "...will take time, would only do this upon request" simply says your time is more important than that of anyone who might try to help. It probably ranks right up there with posts asking for help but start with "My requirements..." (Read as:I haven't bothered, you can do it...)
After saying that, it was necessary to see your code because of the myriad of properties you set before exporting. Rather than try to understand everything going on, I edited a couple of procedures (to test) by adding an optional parameter set to True by default.
This was done so there would be no effect on your existing calls to those procedures. The procedures are below (Note: all of the lines to set the properties have been removed to aid reading)
The major difference is the IF block near the end. If the procedure is called from the 'combined' procedure that will be set False. Defaulting to True means none of your existing code to call that procedure need change.
Another changed proc
And finally a procedure to call each procedure (to set the page properties), select the sheets you want to merge and create the PDF
You need to edit your existing procedures as above and you also need to make sure the correct sheet is active or edit the procedure to refer to the correct sheet when setting the properties...
Simple enough but workbook was essential.
I also notice you have requested this thread be deleted...
Bookmarks