View Single Post
 
Old 03-02-2024, 09:56 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
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

I haven't looked at this for a while but I think sometimes an edge-case like this can reach a point where the complexity to avoid it is more effort than just looking for instances AFTER the problem has been introduced.

What if you just run another find/replace after the main part of the macro has run to clear any unfortunate instances that you just introduced?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote