This might be made rather simpler and less error-prone if you said precisely where in the document these data occur. For example, while Greg's code will work for content located somewhere in the document body, the 'State of Florida' could be anywhere there and every instance of 'STATE TAX' would be replaced, yet it wouldn't work with anything in headers, footers, textboxes, etc.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|