Thread: [Solved] Splitting Out PDFs
View Single Post
 
Old 12-04-2012, 04:52 PM
4mysanity 4mysanity is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Nov 2012
Posts: 16
4mysanity is on a distinguished road
Default RE:

Yep, I sure did. See the thing is, I can make it work. But when it starts to fail is when - I delete the .pdf's in the directory, then try and execute the Macro a second time.

When executing the Macro a second time, its not that the Macro doesn't work, it just starts to do weird things, like copy the entire word document, to a new Word document and close the original file.

For example, say the original document which has the content is called test.docm, when the Macro is executed a second time it copies all the content from test.docm to a new Word document such as "document 5.docm" then the script wants to delete everything in test.docm and prompts me to save the changes to test.docm

Of course I click, "do not save changes". But Im not sure why its doing this.


Quote:
Originally Posted by macropod View Post
Did you edit the macro code to point to the correct folder in each case?
Reply With Quote