I have about 50 docx documents that use about 20 mergefields. Several of the mergefield names in the DB from which data is pulled are changing. I'm looking for suggestions to globally search and replace mergefield names, hopefully for all files at the same time.
Thank you for the example. I'm not familiar enough with vbs to know why I get an error running the script at Line 2, Char 1. (Expected end of statement.) Is there something I can change.
GrahamSkan
It's not VBS, it's VBA in the form of a Word macro.