• Finding attached template programmatically (2000 SR1)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Finding attached template programmatically (2000 SR1)

    Author
    Topic
    #390980

    I need to find out a documents attached template via VBA code. I need the string that can be found from the menu Tools, Templates and Add-Ins…, Document template.
    I’ve tried the ActiveDocument.AttachedTemplate.FullName. This definitely is *not* what the menu reports.
    Thanks for your help
    Peter

    Viewing 0 reply threads
    Author
    Replies
    • #696627

      I have Word 2002; ActiveDocument.AttachedTemplate.FullName reports the same as Tools | Templates and Add-Ins…, Document Template, except for documents based on Normal.dot. As usual, all details of the Normal template are hidden.

      If you want the exact text of the dialog, use Application.Dialogs(wdDialogToolsTemplates).Template

    Viewing 0 reply threads
    Reply To: Finding attached template programmatically (2000 SR1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: