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 / December 2004

Tip: Looking for answers? Try searching our database.

Launch a Word Template From the Web

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Jost - 02 Dec 2004 14:07 GMT
Does anyone know how to code a web page so that I can launch a Word template?
Currently if I just put the executable with the template name it opens Word
and the actual template.  I need the action to be like the File, New and have
a new document based on the template, not open the template itself.

Any help would be appreciated.
John Jost - St. Louis
Charles Kenyon - 02 Dec 2004 15:22 GMT
There are a number of ways to get new documents from templates. Most require
vba but not all. You may want to take a look at
http://www.addbalance.com/word/templatesmenu.htm. In particular, look at the
methods of generating new documents from Hyperlinks.

Signature

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.

> Does anyone know how to code a web page so that I can launch a Word
> template?
[quoted text clipped - 6 lines]
> Any help would be appreciated.
> John Jost - St. Louis
John Jost - 02 Dec 2004 19:09 GMT
Okay this idea appears to work.  However, How do I get the AutoNew module to
kick off?  The Autonew should kick off a form.

> There are a number of ways to get new documents from templates. Most require
> vba but not all. You may want to take a look at
[quoted text clipped - 11 lines]
> > Any help would be appreciated.
> > John Jost - St. Louis
Jay Freedman - 02 Dec 2004 15:43 GMT
> Does anyone know how to code a web page so that I can launch a Word
>  template? Currently if I just put the executable with the template
[quoted text clipped - 4 lines]
> Any help would be appreciated.
> John Jost - St. Louis

Put the /t switch before the template name, with no space between them, like
 "C:\Program Files\...\winword.exe" /t"C:\...\mytemplate.dot"
(replace the ... as appropriate). That switch means to start with a new
document based on the named template. See
http://support.microsoft.com/?kbid=210565.

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org

John Jost - 02 Dec 2004 19:09 GMT
Jay,
This works, however the form that is being called in the AutoNew module does
not kick off.  any ideas?

> > Does anyone know how to code a web page so that I can launch a Word
> >  template? Currently if I just put the executable with the template
[quoted text clipped - 10 lines]
> document based on the named template. See
> http://support.microsoft.com/?kbid=210565.
Jay Freedman - 02 Dec 2004 19:36 GMT
Hi John,

This is a documented problem, with a couple of workarounds but no complete
fix:
http://support.microsoft.com/?id=220532

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org

> Jay,
> This works, however the form that is being called in the AutoNew
[quoted text clipped - 19 lines]
>> Jay Freedman
>> Microsoft Word MVP          FAQ: http://word.mvps.org
John Jost - 03 Dec 2004 13:23 GMT
Jay,
Thanks for your assistance.  I don't know what I would do with this resource!

> Hi John,
>
[quoted text clipped - 25 lines]
> >> Jay Freedman
> >> Microsoft Word MVP          FAQ: http://word.mvps.org

Rate this thread:






 
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.