Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2015, 04:03 AM
Daniell Daniell is offline Find and replace in word document repeated for every item in excel spreadsheet Windows 8 Find and replace in word document repeated for every item in excel spreadsheet Office 2013
Novice
Find and replace in word document repeated for every item in excel spreadsheet
 
Join Date: Feb 2015
Posts: 1
Daniell is on a distinguished road
Default Find and replace in word document repeated for every item in excel spreadsheet

Hi.

I want to try to iterate the find and replace function of word over and over, for every item in an excel spreadsheet.

For example, if my word document says "XX...YY...ZZ"

and my excel spreadsheet says
XX | Hello
YY | There
ZZ | Thanks.

I wish to find and replace iteratively so that my word document now says "Hello...There...Thanks."



Does anyone know how to do this?

Thanks very much.
Reply With Quote
  #2  
Old 02-17-2015, 04:38 AM
macropod's Avatar
macropod macropod is offline Find and replace in word document repeated for every item in excel spreadsheet Windows 7 64bit Find and replace in word document repeated for every item in excel spreadsheet Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

There are already threads here discussing exactly that. Did you do a search?

For a bulk Find/Replace that uses an Excel workbook as the data source to process all documents in a folder, see: https://www.msofficeforums.com/word/...html#post34254. For an interactive version that processes just the active document, see: https://www.msofficeforums.com/word-...html#post31849. Later in the same thread there is a discussion on how to convert the interactive code to automatic replacement.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
iterate, spreadsheet



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace in word document repeated for every item in excel spreadsheet How to give same hyperlink to repeated word in Word document RAJKUMAR BODDAPATI Word 1 11-12-2014 07:07 AM
Resetting where Find/Replace text is shown in document Chris24 Word 1 05-02-2014 03:33 PM
Find and replace in word document repeated for every item in excel spreadsheet Find and Replace function shooting off screen to the left of the document Mattblack Word 1 04-10-2014 03:06 PM
Find and replace in word document repeated for every item in excel spreadsheet Find and Replace using Excel range dmarie123 Word VBA 15 04-02-2013 07:54 AM
Find and replace in word document repeated for every item in excel spreadsheet Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:29 AM.


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