Template

E

Eric

Hello,

I created a template (with Word 2003) and saved it on our network..

I just realised that when users open their own documents created based on my
shared template, somehow their documents are linked to my template and I
can't make changes to it (the template).
It looks like they open their documents and at the same time the template is
opened too.
I was under the impression that the whole point of template was the fact
that it was only used to create a copy and that was it.

Does it make any sense? Is there a way around it?


Thank you.

Eric
 
E

Eric

Doug,

This does not change much. There's no difference for me between waiting for
all the users to logout and login again or asking them to exit Word for me
to swap/update the template.
I think the users would rather just exit Word anyway.
This is a very strange behavior, my template does not contain any macro.
Also, as a test, I renamed the template on the network and verified that no
error is generated when you open the document based on the renamed template.

Thank you for the link.

Eric
 
D

Doug Robbins - Word MVP

It has nothing to do with whether or not there are macros in the template.
If a document that was created from a template is opened and the template is
available, a reference to the template is created as there maybe other
things in the template, that Word may need to make use of. If the template
is not available, then the normal.dot template is attached to the document.
That is why your test did not reveal any problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
B

Brenda A Reid

I was having this same problem. I solved my problem by adding some vba code
to the template to "detach template" (Tools | Templates and addins) and
deleting the path to my template.
 
B

Brenda A Reid

Sorry I'm late . . . hope this helps

At the end of my vba coding in my template, I include the following:

' DETACH TEMPLATE
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = ""
End With
 
E

Eric

Brenda,

I put your code in an AutoExec() macro in the template and now the document
created is not linked to the original template anymore.

Thank you.

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top