I can't test your code, no workbook, no worksheets, no data, but the second half could be better written.
Change:
To:
Not selecting sheets and ranges will make the code much quicker and means the final:
should be unnecessary.
I don't know what the routine Create_PDF does, but you could probably just pass an array of worksheets to that instead of selecting the sheets and then calling the routine.
It's not easy to provide a specific solution to a problem when most of the information required is "back at home".
Regards, TMS
Bookmarks