View Single Post
 
Old 09-27-2022, 04:30 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The list you have is exceptionally important as is the order of proceedings. If you have already replaced a word then it won't be found in any subsequent search. Or if you have replaced a word with a new word, that new word might be a target for a subsequent replacement step.

Test the code with a very short replacement list and pay attention to how earlier replacements will impact the subsequent searches.

Also be aware of words within words eg find 'shall' and replace with 'will' makes 'shallow' change to 'willow'. Since you are also searching for phrases you can't just change the MatchWholeWord setting to correct that.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote