View Single Post
 
Old 06-13-2020, 04:21 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Lumberjax View Post
I need a Makro via VBA, that combines multiple Documents.
The goal is to select a folder and combine all the word-documents in that folder and in the folders of that folder and so on.
It also has to put the title of each Document above its text and so on.
...
P.S.: I've already been looking at this thread, but it doesnt go deep enough:
https://www.msofficeforums.com/word-...documents.html
The code you linked to does almost all of what you asked for. To:
• insert the title, you need to say where 'above its text' means. For example, if it's in the header, where in the header, and what is supposed to happen with any existing content. Wherever you put it, it's likely to mess with the existing pagination.
• have it process multiple sub-folders, make the changes indicated in: https://www.msofficeforums.com/47785-post15.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote