![]() |
|
#2
|
||||
|
||||
|
Simple!
Change i As Long, to i As Long , j As Long, Change Set Rng = .Duplicate to Set Rng = .Duplicate: j = j +1 Change Set Rng = Nothing to Set Rng = Nothing: MsgBox j & " documents created", vbInformation
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| count new files, split at heading level, split document |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Adapting Macropod's Acronym Word VBA Code for Excel
|
scienceguy | Excel Programming | 3 | 11-20-2021 06:59 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 |
Mail Merge - split merged documents and rename each split document based on text in header
|
FuriousD | Word VBA | 1 | 05-12-2019 04:06 AM |
| Pizza Tips - Simple Addition In Word Document | StephenRay | Word VBA | 8 | 09-12-2017 07:13 AM |
How do I see one document map for each half of a split MS WORD 2010 document?
|
quickwin | Word | 3 | 07-09-2013 10:20 PM |