Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2020, 10:36 AM
Harry Gateaux Harry Gateaux is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Novice
Batch merging of Word documents
 
Join Date: Nov 2020
Posts: 4
Harry Gateaux is on a distinguished road
Default Batch merging of Word documents

I dont know if I am just not putting in the right words into google but I can't seem to find something which will do the following (free)




I have a folder full of Docx Word documents and I would like to add a page at the start (or the end of a file). So for example adding the same cover page to all of the documents in a folder.


Ideally a simple program would be good but so far I have only found one called BinaryMark Batch Docs but I was hoping there might be something free.


I also havent been able to find mention of a Macro which could do the same.


Does anyone know of anything which can do this?


Thanks.
Reply With Quote
  #2  
Old 11-17-2020, 11:46 AM
Charles Kenyon Charles Kenyon is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Reply With Quote
  #3  
Old 11-17-2020, 03:42 PM
macropod's Avatar
macropod macropod is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

You might even look at the Combine Multiple Word Documents 'Sticky' thread at the top of the Word VBA forum (https://www.msofficeforums.com/word-...documents.html)...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 11-19-2020, 05:25 AM
Harry Gateaux Harry Gateaux is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Novice
Batch merging of Word documents
 
Join Date: Nov 2020
Posts: 4
Harry Gateaux is on a distinguished road
Default

I had a look at the Graham Mayor Document Batch Processes add on however when trying it out I couldn't see how you can insert pages or merge documents. At least using the ready made options.


I will have a go at using it for the folder option and see if I can get a user defined macro working.


I will check out the Combine Multiple Word Documents vba as well.


Thanks to both of you for taking the time to reply.
Reply With Quote
  #5  
Old 11-19-2020, 06:31 AM
Harry Gateaux Harry Gateaux is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Novice
Batch merging of Word documents
 
Join Date: Nov 2020
Posts: 4
Harry Gateaux is on a distinguished road
Default

I don't think the Combine Multiple word docs will work. This seems to be a take a load of word docs and combine it into one.


I want to be able to take one and push that into many. i.e. One to Many not Many to one.


I have been unable to get the the User Defined Process with the Batch Processing addon to work. I create a simple recorded macro entering some text and tested it working as a normal run macro. Unfortunately when running in the addon it gives an error


Unable to execute the process you defined

Ensure the procedure named 'Macro2' exists in

the Normal template and tray again.

Looking in the marco list it is in Normal.dotm (global template)


No clue as to why it doesn't work.
Reply With Quote
  #6  
Old 11-19-2020, 07:35 AM
Charles Kenyon Charles Kenyon is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

For a Cover Page, look into the Cover Page Building Block. You can create a custom building block. That can be manually added to documents by Insert Cover Page.

You can have code that adds a building block as well. Using VBA to Insent an AutoText Entry or other Building Block
Reply With Quote
  #7  
Old 11-19-2020, 09:58 AM
Harry Gateaux Harry Gateaux is offline Batch merging of Word documents Windows 10 Batch merging of Word documents Office 2019
Novice
Batch merging of Word documents
 
Join Date: Nov 2020
Posts: 4
Harry Gateaux is on a distinguished road
Default

Worked out why it goes wrong. When making a recorded macro it put it in as a sub macro. I just needed to move the recording part into the top function and it worked.


Now though although I can insert into a doc already open the batch part is now the problem and it doesn't do anything to those files. I had used the insert cover sheet as a test.


Actually I have just realised it has inserted the cover sheet into the same file multiple times haha. At least I am moving forward
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Editing Word documents sakhtar6 Word VBA 6 03-02-2020 02:49 PM
Batch merging of Word documents Updating links while merging Word documents ndw Word VBA 1 11-10-2017 01:07 PM
batch extract all tables in multiple word documents ZaidaBa Word Tables 3 05-08-2017 10:22 PM
Batch merging of Word documents Batch create Word documents cdfj Word VBA 6 11-07-2012 01:03 PM
How to preserve or Retain bookmarks during Merging of word documents ramsgarla Word 2 09-18-2012 08:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft