Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Document template not found (Word XP)

    I have just installed a new file server, all new workstations, and Win XP/Office XP for a client with a little over 100,000 documents. When trying to access old documents that were based on templates on the old server (i.e. every document not based on normal, there is a significant delay while Word attempts to find the old template. The path to the letterhead, memos, brief, etc. templates uses a unc path starting with the server name and this server no longer exists.

    I know I can go in and change the attached template to normal.dot" ... but

    Is there a way to automate this on open? I tried searching for the server name within the attached template property in code, but by the time the code runs (even on an autoopen macro), the template returned is "normal.dot". However, in the user interface, the document template shows servernamesharetemplate name.

    Any thoughts would be appreciated.

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Document template not found (Word XP)

    Hi Daryl:
    I am not a VBA expert, but I found this macro hidden among tips that I save. I have not tried this. Unforunately, I did not write down the author, so I can't give the appropriate credit. I'm not sure if this is exactly what you need, but hope it helps.
    Cheers,
    Attached Files Attached Files

  3. #3
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Document template not found (Word XP)

    This was helpful. Thank you! This code ActiveDocument.BuiltInDocumentProperties(wdPropert yTemplate) go me to the old template name so I could program it to update based on the old template name. I still have no way to do this proactively but at least the users can easily update when document is slow to open.

Posting Permissions

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