JSO SaveAs Method when file already exists

I'm attempting to use the SaveAs method for a JSO object, but there's a possibility the file I'm attempting to SaveAs already exists. In this case, I want to merge the existing .pdf with the .pdf I'm attempting to write. I understand I need to use the InsertPages method, but I'm having trouble getting this together.

This is urgent and any help would be greatly appreciated.


William Ortenberg


1 Answer

That's just standard VBA programming: Check to see if the file with the name you want to use in your SaveAs operation already exists. Here are a bunch of different approaches: http://stackoverflow.com/questions/11573914/check-if-the-file-exists-using-vba

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com


Karl Heinz Kremer   


Please specify a reason: