Copying AutoText

S

Steve C

I am looking to create some code in an AutoNew procedure in a network based
template (F:\Word Templates\Master.dot). The idea is that when any user
creates a new document from this Master template, I want AutoNew to copy an
AutoText entry (called "ProgSpace") that I made in another template (F:\Word
Templates\Steve.dot) into the Normal.dot template of the user. Can anyone
help? Thanks!

Steve C
 
S

Steve C

Jonathan,

I have, but I'm struggling with how to copy it to the user's Normal.dot
template. When I recorded the procedure and viewed the code, it points to my
own C: Drive > Normal.dot file path; I need it to point to the logged on
user's Normal.dot ...

Steve C
 
J

Jonathan West

Steve C said:
Jonathan,

I have, but I'm struggling with how to copy it to the user's Normal.dot
template. When I recorded the procedure and viewed the code, it points to
my
own C: Drive > Normal.dot file path; I need it to point to the logged on
user's Normal.dot ...

The pathname of the user's normal.dot can be found by reading the
NormalTemplate.FullName property


--
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
 
S

Steve C

Eureka! That's what I was looking for. Thanks for nudging me in the right
direction, Jonathan!

Steve C
 

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