Adamski
08-17-2011, 05:21 AM
Hi,
Using Word 2010, I would like to replace all instances of a string with a field. The problem is the field it replaces it with contains the string. This then gets found again. Is there a way to exclude fis from the find? Otherwise I guess I just test each find range to check if it is in a field. But then I need to somehow end the find when everything remaining is just the fields.
Simplified example: replace "Test" with "{ QUOTE Test}"
I actual want to replace with a much more complex nested field but don't worry about that.
Thanks
Using Word 2010, I would like to replace all instances of a string with a field. The problem is the field it replaces it with contains the string. This then gets found again. Is there a way to exclude fis from the find? Otherwise I guess I just test each find range to check if it is in a field. But then I need to somehow end the find when everything remaining is just the fields.
Simplified example: replace "Test" with "{ QUOTE Test}"
I actual want to replace with a much more complex nested field but don't worry about that.
Thanks