Re: Template reference lost after new document created and closed



Here is the situation.

I can save the document to ANY path except the MyDocuments folder. If
I save it to the MyDocuments folder the template detaches from the
document. If I save it to ANY other folder it retains the link to the
template.

Now the reason behind it all!!!

1. The MyDocuments folder has an old version of the template

2. If it is the exact same version, it attaches to the template in the
same path, rather than the original location.

3. If it is an OLD template version, Word stuffs up and does not
attach to the original template, it tries to attach to the one in the
same path as the document, and fails THEN does NOT attach to the
correct template that is in a different folder.


Now I know this situation should not come up, however I was about to
throw 3 days worth of work because it appeard my template was
corrupted in some way. I had a lot of junk files in MyDocuments and
in the multipudes of files, was an old version of the template.


Now you could use this to your advantage if you wanted to create
documents that detached from their templates, but heck you can do that
anyway with the AttachedTemplate object.

Well I'll be!!!!!!!!
.



Relevant Pages

  • Re: Template reference lost after new document created and closed
    ... > I can save the document to ANY path except the MyDocuments folder. ... > I save it to the MyDocuments folder the template detaches from the ... > attach to the original template, it tries to attach to the one in the ... I had a lot of junk files in MyDocuments and ...
    (microsoft.public.office.developer.vba)
  • Re: Template reference lost after new document created and closed
    ... >> I can save the document to ANY path except the MyDocuments folder. ... >> I save it to the MyDocuments folder the template detaches from the ... >> attach to the original template, it tries to attach to the one in the ... I had a lot of junk files in MyDocuments and ...
    (microsoft.public.office.developer.vba)
  • Re: I need a Save (or SaveAs) macro
    ... template will be stored on the internet and when downloaded and saved does ... it saves the file to that person's MyDocuments folder? ... Desperate in need of help. ... template has nothing to do with it. ...
    (microsoft.public.word.docmanagement)
  • Re: lock/unlink MailMerge.fields in header
    ... Sub UnmergeThis() ... ' Written 29 August 2002 by Charles Kyle Kenyon ... ' Updated 23 September 2002 to attach normal.dot ... ' Test for template - in template only disconnect from merge but leave ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Style Sheet (Word XP & 2003) - Word freezes on style application
    ... create a new document, based on the normal.dot template, ... attach one of your problem templates to it, ... How to create numbered headings or outline numbering in your Word ... One DOT file with definitions for all the styles that are used. ...
    (microsoft.public.word.docmanagement)