I need to add all the pages of all open documents to a new document.
Is there a macro available to do that?
If not, any suggestion of where to start?
CreateDocument function creates the document along with the first page, and InsertPages function adds another page right after it. Therefore, all documents are added starting from the second page. You can simply remove the blank first page by placing the line at end of the macro: dNew.Pages(1).Delete
This seems to work, thanks!
x = dNew.DeletePages(1, 1) = False
Thanks kindly for that terrific starting point.
https://youtu.be/2SPqfvJqTM8 We've made some improvements to your wonderful code that make the macro look amazing now. See if it's useful that way! link direct: https://bit.ly/ImpCDRopen - Thanks for making it available!