Do you mean you want to specify a template when you create a new document? You do that with an argument to the Documents.Add method call that creates the document:
Set docMyDocument = wrd.Documents.Add Template:="template name"
If you really mean you want to open an existing document with a specific template, you can't. You can change its template, though. You do that by setting the AttachedTemplate property of the Document object to the name of the new template:
MyDoc.AttachedTemplate = "Normal"
The change will only be temporary, unless you save the document after you change it. Rick Sprague
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.