Hi -
I would like to automatically attach a template file named "AutoWork.dot"
when a user is ready to use it. The user has this file stored in their
template directory, wherever that may be. How do I write a macro that finds
a user's MS default template path (there a many users and this may vary
between users), then attaches this .DOT file to the active document?

Thanks so much,
Pia

Re: Find and use a user's template directory path by Jonathan

Jonathan
Mon May 12 06:44:08 PDT 2008


"PiaD" <PiaD@discussions.microsoft.com> wrote in message
news:F775B753-67A8-43EE-874A-F2DE56979142@microsoft.com...
> Hi -
> I would like to automatically attach a template file named "AutoWork.dot"
> when a user is ready to use it. The user has this file stored in their
> template directory, wherever that may be. How do I write a macro that
> finds
> a user's MS default template path (there a many users and this may vary
> between users), then attaches this .DOT file to the active document?
>
> Thanks so much,
> Pia

Options.DefaultFilePath(wdUserTemplatesPath) is the property which returns
the path name of the user templates folder.


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