Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
PCOMAN
 
Posts: n/a
Default Creating a new Document using a Hyperlink to a template

I have created hyperlinks on a web page which are to be used to to open a
linked template as a new document. Unfortunately the link opens the
template.dot file and does not creat a blank document using the template. Is
there a way in which the action of the hyperlink could e changed to create a
new document using the template rather than open the template ?

I am using Office 2003 on an XP machine

If anyone could help I would be very grateful.

Regards


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP-
 
Posts: n/a
Default Creating a new Document using a Hyperlink to a template

Hi ?B?UENPTUFO?=,

I have created hyperlinks on a web page which are to be used to to open a
linked template as a new document. Unfortunately the link opens the
template.dot file and does not creat a blank document using the template. Is
there a way in which the action of the hyperlink could e changed to create a
new document using the template rather than open the template ?

this is how hyperlinks are designed to work. To force a new document from a
template you need to use Script (Java or VBScript). Best to discuss this in a
group that deals in scripting web pages; one for the webpage editor you're
using, if possible.

The code will need to automate the Word application, sending a
Documents.Add("Path\Filename.dot") command to it.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Come? Michael Koerner Mailmerge 9 February 10th 06 10:29 PM
Global/Master Template [email protected] New Users 1 October 27th 05 03:34 PM
SQL Prompt When opening merged documents Jeni Q Mailmerge 14 August 11th 05 09:10 PM
CPU Usage When working with a Template I Created KM1 Microsoft Word Help 6 May 24th 05 04:38 PM
Creating a document template from sections of text Felix Microsoft Word Help 1 March 15th 05 03:41 PM


All times are GMT +1. The time now is 02:06 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"