through our software, our clients can create Word documents based on a number of templates we provide. This has caused us some problems lately when sites have been moving servers, as documents created from templates have a link to the original template's path and attempt to connect to that path when opening the created documents (even when 'Automatically update document styles' is turned off).
So, when these sites have moved servers, there can be a large, unacceptable delay in opening documents while it tries to resolve a network path that doesn't exist anymore.
I've found ways to handle this for existing documents (see below) but I want to stop this issue from propagating in the future.
Does anyone know how to set up Word so that new documents created from templates will not have a link to the template? (so just use Normal instead).
Thanks
Also, if anyone else reading this is having this issue, the following links should be helpful:
In the VBA for your templates you can use the AttachedTemplate
property to attach the Normal template (or any other template) to new documents. For example:
Private Sub Document_New()
ActiveDocument.AttachedTemplate = "C:\Users\Joe\AppData\Roaming\Microsoft\Templates\Normal.dotm"
End Sub