![]() |
#3
|
||||
|
||||
![]()
Hi Paul,
thanks for your response. I will to need some time to read it all and digest it! I ran the SplitMergedDocument() it gave this error 4605 no text selected Set Rng = .Range With Rng If j > 1 Then .MoveEnd wdSection, j - 1 'Contract the range to exclude the Section break .MoveEnd wdCharacter, -1 ' Copy the range .Copy The other solution I was thinking was maybe to re save the files with the first paragraph in the document. That would work - what ever gets the job done really. So I could Insert section breaks before the headings - Use macro to split by section Rename the Files with the first paragraph? is that an easier solution thank you j |
Tags |
document, heading, split |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
megatronixs | Word VBA | 9 | 09-05-2020 02:29 PM |
![]() |
cheech1981 | Word | 9 | 01-11-2017 02:14 AM |
![]() |
kp2009 | Word VBA | 5 | 08-27-2015 11:45 PM |
![]() |
BriMan83 | Mail Merge | 1 | 04-24-2013 11:35 PM |
![]() |
VBNation | Word VBA | 2 | 02-08-2013 07:14 AM |