Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2013, 02:29 AM
dirkoo dirkoo is offline search and replace Windows 7 32bit search and replace Office 2010 32bit
Novice
search and replace
 
Join Date: Aug 2013
Posts: 2
dirkoo is on a distinguished road
Default search and replace

Hello,


Sorry if my English is not perfect...
I am looking for a Macro that will do the following :

I have a directory with about 300 word documents. I have to replace in about 200 documents a part of a text (ex : "hello i am peter") to "hello i am john".
So, the macro has to
1. open the 1st document in the directory, do the search and replace it
2. close and save the document
3. open the 2nd document in teh directory, etc.

could somebody help me with this ?
Reply With Quote
  #2  
Old 08-14-2013, 05:49 AM
gmaxey gmaxey is offline search and replace Windows 7 32bit search and replace Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,361
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

See: http://gregmaxey.com/word_tip_pages/...d_replace.html
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 08-14-2013, 11:25 AM
dirkoo dirkoo is offline search and replace Windows 7 32bit search and replace Office 2010 32bit
Novice
search and replace
 
Join Date: Aug 2013
Posts: 2
dirkoo is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
Thank you !
This was just what i was looking for
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
search and replace Odd search and replace query Rabski Word 1 11-13-2012 02:25 PM
search and replace Search and replace tabulators of different length...? Flabbergaster Word VBA 9 10-30-2012 05:40 AM
search and replace WORD: Rtf and search-replace (regexp/fonts) seteshpl Word 1 09-06-2011 01:35 AM
Search Replace Copy dblack7211 Word 0 05-05-2010 01:19 PM
Search and Replace - Clear Search box JostClan Word 1 05-04-2010 08:46 PM

Other Forums: Access Forums

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