![]() |
|
|
|
#1
|
||||
|
||||
|
Given that the "Split Merged Output to Separate Documents" macro has worked for hundreds, if not thousands of others, I can only conclude the failure has something to do with either your document or your implementation. If you care to attach an extract from document to a post with some representative data (delete anything sensitive), I'll take a look at it. You do the attaching via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
indeed the problem was from the document/me. as i said i have little knowledge with VBA. there were some spaces after the end of each text. but now i get an error regarding the number of characters in the string/name of the document. i checked and there is no text with Heading1 (basically the question by which the document is named) with more than 254 characters and it keeps telling me that the string has more than 255 characters. is there any way of selecting only the first 255 chars as i have questions with more than 255???
|
|
| Tags |
| vba microsoft word 2013 |
|
|
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 |
| Vba code to save document as pdf using document property text and rename folder. | staicumihai | Word VBA | 1 | 12-21-2015 07:39 AM |
| How to save active document to SharePoint document library | Rose roon | Word VBA | 9 | 09-22-2015 10:53 PM |
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 |