Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2023, 11:43 AM
eastsidedfw eastsidedfw is offline Macro footer formatting Doc A to Doc B then Headers Windows 10 Macro footer formatting Doc A to Doc B then Headers Office 2016
Novice
Macro footer formatting Doc A to Doc B then Headers
 
Join Date: May 2023
Posts: 2
eastsidedfw is on a distinguished road
Default Macro footer formatting Doc A to Doc B then Headers

Hey there you guys! I SURE hope you can help me.

We have a bunch of older ISO certification documents - they use the old branding and I've been asked to update them. Problem is, there's like 600 documents.

What i was hoping to do is create a macro that will update all of these.



The parameters are as follows:

Word Document A has a new header and footer with the proper formatting.

For this example, we will reference the secondary doc as Word Document B

Word Document B has old header and footer BUT the information from the header text needs to be retained. It's an ISO doc so there's a version, revised by, revision date etc that needs to be kept.


In the new version in Word Doc A all of the information in the header of Word Doc B has been moved to the footer.


So, what I would like to do is:
  1. Create a Macro that
  2. Takes footer formatting from Word Doc A and moves it to Word Doc B
  3. Using the text/copy content from Word Doc B Header
  4. and Replace Header in Word Doc B with the Header version from Word Doc A.

How do I go about this you guys? Is this a VBA thing or is this regular macro functionality that will work by just taking the time to map it all out in the recorded macro?

I am so grateful for any direction or insight you can provide me!! Haven't done a macro in a reallllllllllllly long time.
Reply With Quote
  #2  
Old 06-13-2023, 08:26 AM
eastsidedfw eastsidedfw is offline Macro footer formatting Doc A to Doc B then Headers Windows 10 Macro footer formatting Doc A to Doc B then Headers Office 2016
Novice
Macro footer formatting Doc A to Doc B then Headers
 
Join Date: May 2023
Posts: 2
eastsidedfw is on a distinguished road
Default

No of you amazing guru's have any insight on this here process? I'll keep researching. Considering I've only done macro's in Excel and Photoshop and that was forever ago, I could really use and would greatly appreciate some assistance. Looking at another post about this and will follow up if i make any progress. Thank you in advance for any direction you might provide.
Reply With Quote
  #3  
Old 06-13-2023, 09:16 AM
Charles Kenyon Charles Kenyon is offline Macro footer formatting Doc A to Doc B then Headers Windows 11 Macro footer formatting Doc A to Doc B then Headers Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,138
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

Your question is confusing, to me. Are you changing Document A, Document B, or both?


Look into Styles. They are Word's method of conveying formatting. Copy the Header and Footer styles to copy formatting. Use the Organizer.



The Importance of Styles in Microsoft Word
Reply With Quote
  #4  
Old 06-13-2023, 04:14 PM
Guessed's Avatar
Guessed Guessed is offline Macro footer formatting Doc A to Doc B then Headers Windows 10 Macro footer formatting Doc A to Doc B then Headers Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

We can definitely help you here but not without seeing example documents of the Before and After formatting you are seeking. If there is inconsistency across 600 documents then the macro needs to be able to deal with that and we don't know what any of that might be without seeing sample docs.

A macro can apply formatting to all the headers/footers in a document but the macro needs to know what it is going to encounter and what steps will be required for each scenario.

If you wanted to post sample docs we can suggest code that would work. The sample docs don't need content other than header/footer contents so you can remove the body info if you wish to sanitise the samples you post.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
bulk process, marco, ms word



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro footer formatting Doc A to Doc B then Headers Macro for inserting and formatting headers and footers Mike_Lennox Word VBA 4 10-06-2016 12:10 AM
Macro footer formatting Doc A to Doc B then Headers Formatting Headers Teeks15 Word 4 05-21-2015 11:57 AM
Macro footer formatting Doc A to Doc B then Headers footer formatting error naomi Word 3 05-03-2012 02:33 AM
Macro footer formatting Doc A to Doc B then Headers formatting headers automatically gib65 Word 2 12-22-2011 04:37 PM
Headers won't hold formatting leftylee Word 0 08-09-2010 01:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:07 PM.


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