Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Finding attached template programmatically (2000 SR1)

    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

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Finding attached template programmatically (2000 SR1)

    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).Templa te

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •