I'm trying to loop through a word document containing merge fields and replace it with a conditional formula that includes the merge field I'm replacing. It works if I don't use the initial merge field in the formula but I need to use it and when I do it creates a recursive loop. Could anyone offer some advice on how to stop the looping after the first assessment of the fields in the document?
Basically I want it to go from this to this:
2020-06-22_14-53-07.jpg
This is the macro I'm using that causes the recursive loop. Any help would be greatly appreciated! (I can't get the actual text to load in because it's getting blocked by the Sucuri system)
2020-06-22_15-36-48.jpg
Bookmarks