![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Thank you!
I tried using Const strPath As String = "\" to make it use the current path, but it did not like it. I would like to be able to just use the current folder where the docx is - most are on a network location. I moved the test file to "C:\test\" and it worked. I moved the bookmarks to the end of the each page and the macro did split the file in multiple pdfs, but header and footer where missing, and I got one blank page before each page. I have 4 bookmarks and got 5 files. the last one was the one containing the header and footer. Finally, the files are named "051018 1", "051018 2" etc, instead of using the bookmark name. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Word VBA - Split Document By Headings - Save File Name As Heading Name
|
jc491 | Word VBA | 7 | 01-21-2022 11:04 AM |
split word document based on bookmarks with each new document title of the bookmark
|
megatronixs | Word VBA | 9 | 09-05-2020 02:29 PM |
| Split function in Excel (split the screen) | Officer_Bierschnitt | Excel | 1 | 07-05-2017 07:02 AM |
Programmatically split a rtf word file without opening
|
Esgrimidor | Word VBA | 8 | 03-29-2017 11:15 AM |