Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2017, 02:05 PM
macropod's Avatar
macropod macropod is offline search on multiple word documents Windows 7 64bit search on multiple word documents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

It does what the OP asked for - find & replace a nominated string in all documents in a folder. The results will be in the updated files.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 03-06-2017, 08:28 AM
gstech gstech is offline search on multiple word documents Windows 7 search on multiple word documents Office 2007
Novice
 
Join Date: Oct 2010
Posts: 6
gstech is on a distinguished road
Default

I asked because I could not see results, and thought I’m not understanding how it works.
Your macro code includes: .Replacement.Text = "^&"

question1: Is “^&” a code? When I changed this to .Replacement.Text = “XX” I could see my target files were changed. But I couldn’t see changes with “^&”.

question2. What is the “Find/Replace” list that you mentioned?

question3: I understood the OP was asking for “find”, not “find/replace”. That’s what I was looking for also. There are several ways to report finds to the user. One is to stop at the first occurrence and display the document (the page, with the found word highlighted). This is helpful when the user wants to read the page, but does not want to replace anything. Has that option been discussed here?

Thanks for your help.
Reply With Quote
Reply

Tags
search, search folders



Similar Threads
Thread Thread Starter Forum Replies Last Post
search on multiple word documents Replace text in multiple documents? Roscoe Word VBA 7 07-31-2017 04:02 PM
Word 2010 / Master Index / Multiple Documents bawrites Word 0 08-09-2011 11:02 AM
search on multiple word documents Change Multiple Documents from US to UK language swifty2010 Word 1 03-08-2011 02:00 PM
2007 merging multiple documents into one master hugheso Word 0 04-02-2009 04:31 AM
search on multiple word documents page numbering across multiple documents reitdesign Word 3 12-12-2008 11:55 AM

Other Forums: Access Forums

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