View Single Post
 
Old 03-06-2017, 01:31 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

1. The ^& is a standard Find/Replace replacement expression. The fact it's used in a macro makes no difference. All it does is replace what's found with itself. As I said in my reply to the OP:
Quote:
You'd need to add a bit more code to make it do something useful with whatever's found
As the code stands, all that's liable to happen in this case is that the files containing the text would have their date/time stamps updated.

2. The 'Find/Replace list' referred to in post #4 could be an array or pair of arrays built into the code itself, a series of tab-delimited paragraphs in a document or plain text file, a two-column Word table, two columns in an Excel workbook, etc., etc. Different code is required for each kind of list. For code that uses an Excel workbook for the list, see:
https://www.msofficeforums.com/word-...html#post34254

3. Quite clearly, the option to do anything of substance has not been discussed in this thread. The code provided is little more than a skeleton. If you want something that provides a measure of interactivity, see:
https://www.msofficeforums.com/word-...html#post31849
If your needs are different, I suggest you start a new thread setting out exactly what you're trying to achieve.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote