Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-31-2016, 02:10 PM
mbreggs mbreggs is offline New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Windows 10 New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Office 2010 64bit
Novice
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer
 
Join Date: May 2016
Posts: 3
mbreggs is on a distinguished road
Default New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer

Hi there,

I am relatively new to VBA and am recording a number of macros to automate my work. I have come across this problem: when I do a Find & Replace WITHOUT recording my Macro, the Find & Replace searches through the body, the headers, and the footers.

However, when I try to record the Macro, the Find & Replace tool does not search through the footer or header, just the body.

I am looking to update a template - using the same MS Word doc for a number of projects going forward and would be greatly appreciative if there is a work around to this problem.

If there is code for this problem, please pass it along!
If you could also be so kind to explain to me where the "Find" criteria will go in the code as well as the "Replace" criteria, I would greatly greatly appreciate it!

Thank you for your time in advance.
Reply With Quote
 

Tags
find & replace, find and replace, header and footer



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Find & Replace in Header/Footer in 1000 files amodiammmuneerk@glenmarkp Word 12 03-05-2018 03:31 AM
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Find/replace font colour in all header/footer trillium Word VBA 4 10-20-2015 10:39 PM
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Find & replace footer text in a folder of Word 2010 documents kennethc Word 3 03-28-2015 02:49 AM
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Created VBA to Find and Replace in Body, Header and Footer with Highlighting the replacement text QA_Compliance_Advisor Word VBA 11 09-23-2014 04:40 AM
New to VBA - Find/Replace in MS Word 2010 that Searches Header/Footer Find & Replace in Header/Footer PReinie Word 6 01-22-2014 06:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:50 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