Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2005

Tip: Looking for answers? Try searching our database.

Copying AutoText

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve C - 15 Jul 2005 15:46 GMT
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
Jonathan West - 15 Jul 2005 18:37 GMT
Hi Steve

Look at the Application.OrganizerCopy method.

Signature

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

>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
[quoted text clipped - 6 lines]
>
> Steve C
Steve C - 15 Jul 2005 20:04 GMT
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

> Hi Steve
>
[quoted text clipped - 10 lines]
> >
> > Steve C
Jonathan West - 15 Jul 2005 20:15 GMT
> Jonathan,
>
[quoted text clipped - 3 lines]
> 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

Signature

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

Steve C - 15 Jul 2005 21:58 GMT
Eureka! That's what I was looking for.  Thanks for nudging me in the right
direction, Jonathan!

Steve C

> > Jonathan,
> >
[quoted text clipped - 6 lines]
> The pathname of the user's normal.dot can be found by reading the
> NormalTemplate.FullName property
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.