Thread: [Solved] Splitting Out PDFs
View Single Post
 
Old 12-05-2012, 03:31 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Let me put it simply: your 'Splitter' macro contributes nothing to the process. The 'InsertPicsToPDF' macro does all that is required. It both inserts the images and saves them out to a new file.

The problems you are getting are caused solely by running your 'Splitter' macro, not by any firewall or 'other issue'. That macro is predicated on the document it is run on having a separate Section for each numbered paragraph. Your document (or at least the one you attached to post #1 in this thread) is not like that - it has all of them in one section. So, when your 'Splitter' macro tries to cut content on a Section by Section basis, it simply cuts all of the content from the source document and pastes it into the output document.

If you want to be able to generate a new set of pdfs, simply close the source document without saving, then re-open it and re-run the 'InsertPicsToPDF' macro.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote