change Word template with macro

J

Jason Dulberg

We have hundreds of Word files that are pointing to the wrong UNC path on our
server - due to an upgrade.

Using the code from http://www.gmayor.com/batch_replace.htm, I can replace
text within the file and any other document property but cannot alter its
template path.

I've added the following before the file is saved but it doesn't work.
myDoc.BuiltInDocumentProperties(wdPropertyTemplate) = ""

Any suggestions would be great :) Thanks.

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top