VBA - Attached Templates

The AttachedTemplate property returns a Template object that represents the template attached to the specified document.
To set this property, specify either the name of the template or an expression that returns a Template object.


This attaches the template "Letter.dot" to the active document.





This example inserts the contents of the Spike (a built-in AutoText entry) at the beginning of document one.




© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext