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 / February 2005

Tip: Looking for answers? Try searching our database.

Save to users templates folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wicked Wizard - 21 Feb 2005 16:47 GMT
I need to distribute a Word tutorial and a test.  The test requires a
template I have created.  I thought I could use an autoexec macro to save it
to c:\documents and settings\%username%\application
data\microsoft\templates\testtemplate.dot but it seems that %username%
creates an error.

Is there any way I can achieve my aim programatically please?

Signature

Many thanks

Wicked Wizard

Word Heretic - 22 Feb 2005 02:38 GMT
G'day "Wicked Wizard" <dontmailme@anywhere.com>,

The VBA Developers Handbook by Ken Getz et al contains some useful
information on using system paths.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Wicked Wizard reckoned:

>I need to distribute a Word tutorial and a test.  The test requires a
>template I have created.  I thought I could use an autoexec macro to save it
[quoted text clipped - 3 lines]
>
>Is there any way I can achieve my aim programatically please?
Wicked Wizard - 22 Feb 2005 14:26 GMT
Being tied to my chair after an operation on my foot, I can't get to the
local bookstore, but I'll order it from Amazon and ask them to send you a
commission!

Excuse my sense of humour please, I actually do have it and failed to find
what I was looking for, but I'll get it out again.

:)

Just getting a reply makes me feel that bit more perky.

WW

> G'day "Wicked Wizard" <dontmailme@anywhere.com>,
>
[quoted text clipped - 16 lines]
>>
>>Is there any way I can achieve my aim programatically please?
Jonathan West - 22 Feb 2005 14:28 GMT
>I need to distribute a Word tutorial and a test.  The test requires a
>template I have created.  I thought I could use an autoexec macro to save
[quoted text clipped - 3 lines]
>
> Is there any way I can achieve my aim programatically please?

Options.DefaultFilePath(wdUserTemplatesPath) returns the folder which Word
currently thinks is the user templates folder

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

Wicked Wizard - 22 Feb 2005 15:04 GMT
Oh brilliant, thank you!  I was just bruising my leg resting my copy of Getz
on it.  I am grateful.

WW

>>I need to distribute a Word tutorial and a test.  The test requires a
>>template I have created.  I thought I could use an autoexec macro to save
[quoted text clipped - 6 lines]
> Options.DefaultFilePath(wdUserTemplatesPath) returns the folder which Word
> currently thinks is the user templates folder
 
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.