Also look up "VBProject" in help. This is a property of the Document
object. You could write a routine in a separate document to iterate through
a group of files and replace the code using this method.
As an aside, keeping code in a stencil rather than the document is often a
better plan if you can, for reasons you are now discovering. Maybe you
could make this change now if you've got to go through the files anyway?
Hope that helps