Hi gurus,
I am currently using the below code to export sheets in a workbook as PDFs. Each PDF's Filename is the name of the exported sheet. The FolderPath is C:\PDFs\Bi-Weekly Syndication Reports.
This code results in an error if the FolderPath already exists so I have to delete it each time before running the macro (annoying). This is what I am trying to achieve:
- If the FolderPath does NOT exist, create the FolderPath.
- If the FolderPath does exist, follow the FolderPath.
- If a PDF is exported with a Filename that does NOT exist in the folder, create the file.
- If a PDF is exported with a Filename that does exist in the folder, merge the new PDF with the existing PDF.
Any help would be MUCH appreciated! Thanks in advance to anyone who answers!
Bookmarks