Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-09-2018, 10:09 AM
cspande cspande is offline Multi-File Header Change Windows 10 Multi-File Header Change Office 2013
Novice
Multi-File Header Change
 
Join Date: Feb 2018
Posts: 4
cspande is on a distinguished road
Default Multi-File Header Change

I have zero experience in Word VBA. I am looking for a way to change the header in one document and update multiple documents in a specified folder.



We have specification documents that need to have their headers updated quite regularly. I'd like to be able to use a Word document as the template where any changes that need to take place will occur in the document. I would then like to use that document to change multiple documents automatically. These other documents would be located in a folder. Ideally, the process flow would be like this:

Open "template.docx"
Open Header/add date "March 1, 2018"
Close Header
Save document
Run macro - select folder location of all documents that need the header changed.

Currently we copy/paste the updated header into each document separately which involves opening document/open header/paste/close header/save/close document repeat 100+ times. This process takes place for one project, extrapolate to the 100s of projects my company produces...you get the picture.

I've stumbled upon this thread and code but have not been able to understand it:
https://www.msofficeforums.com/word-...html#post62942

It appears as if this code should work but I must be missing something as to I don't understand how to make it grab the folder location and institute the changes made to my template document.

Version: Word 2013

Thank you for your time,

Last edited by cspande; 02-09-2018 at 10:13 AM. Reason: Removed name
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2016 Multi-file Macro issues IneedHelpWithWord Word VBA 1 08-08-2017 09:29 PM
Multi-File Header Change Multi change text DrDress Word 4 04-17-2017 06:39 PM
Multi-File Header Change Copy and Paste from File to File but File Names always change aaronbauer1980 Excel Programming 1 04-15-2016 05:53 PM
Multi-File Header Change Split multi-page mail merge document, then name file from letter info. BriMan83 Mail Merge 1 04-24-2013 11:35 PM
Multi-File Header Change Word insert only 1st page of multi-paged PDF file Evgeniy Word 1 02-04-2012 01:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:48 PM.


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