Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 12-19-2013, 12:23 PM
Carchee Carchee is offline Replace words within headers in multiple document Windows 7 64bit Replace words within headers in multiple document Office 2007
Advanced Beginner
Replace words within headers in multiple document
 
Join Date: Dec 2013
Posts: 46
Carchee is on a distinguished road
Default

Wow this helps out a lot. Thank you fumei and macropod.

Although fumei's code would work it's not quite what I'm looking for, I'm leaning more towards macropod's code. I did fail to mention that the "replaced text" will be different for every folder that I execute the program on, so a simple replace would not be practical or at least I'm too lazy to go into the code each time and change it.

macropod's code is set up to ask the "Text to Replace" and the "Replacement Text" for each file within the folder which is also impractical for my situation as the text being replaced and the new text will be the same in each file. For this reason my code asked the user only once what should be replaced with what.

Sometimes there will be upwards of fifty files needing change and that would take awhile if I had to type it each time. So my next step is to take your code and apply it to mine and it should work....hopefully. I'm fairly new to the coding business.

Again thank you for your help.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace words within headers in multiple document Find and highlight multiple words in MS Word document AtaLoss Word VBA 37 09-22-2021 12:04 PM
Replace words within headers in multiple document Highlight and then replace multiple words redhin Word VBA 5 03-05-2013 05:42 AM
Replace words within headers in multiple document Macro to replace few words in the document ubns Word VBA 7 08-16-2012 10:33 PM
Multiple Headers in Same Worksheet Tom Excel 3 05-18-2011 03:22 PM
Multiple Headers boutells Word 1 06-05-2009 12:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:39 AM.


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