"Getting rid" of tem,plate information

J

Jan Kronsell

I have a document, based on a certain template. This template is placed on a
server.

When I mail documents based on this template to customers, and they try to
open the document, Word starts searching for the template in the customers.
It takes a long time, and only when Word "are sure" the template is not
there, it opens the document. This is annoying to my customers.

Is there anyway I can remove the connection between document and template,
before mailing the document, maybe using Document_Close() or someting like
that.?

Jan
 
J

Jonathan West

Jan Kronsell said:
I have a document, based on a certain template. This template is placed on
a
server.

When I mail documents based on this template to customers, and they try to
open the document, Word starts searching for the template in the
customers.
It takes a long time, and only when Word "are sure" the template is not
there, it opens the document. This is annoying to my customers.

Is there anyway I can remove the connection between document and template,
before mailing the document, maybe using Document_Close() or someting like
that.?

You can do this by hand without VBA. Go to the Tools menu, Temaplteas and
add-ins set normal.dot as the attached template and then save.

If you want some VBA code to do the same, the thing to do is set the
ActiveDocument.AttachedTemplate property to normal.dot.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
J

Jan Kronsell

Thanks. I'll try your solution.

Jonathan West said:
You can do this by hand without VBA. Go to the Tools menu, Temaplteas and
add-ins set normal.dot as the attached template and then save.

If you want some VBA code to do the same, the thing to do is set the
ActiveDocument.AttachedTemplate property to normal.dot.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
C

Charles Kenyon

Be sure that the box to update styles is _not_ checked in the Templates and
Add-Ins dialog.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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