Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass data from web form to word template

Status
Not open for further replies.

rmelnyck

Technical User
Sep 26, 2003
27
US
I was wondering if anyone has done anything similar to this or knows how to do it.

What I want to do is create a link or button on a web form that when pressed opens up a word template and populates it with values from the web form.

I'm thinking I can use javascript to do this?

Any ideas would be appreciated.
 
You might be able to do this in IE only, but I cannot see it being anywhere near cross-browser. You would start it with this:

Code:
var myObj = new ActiveXObject('Word.Application');

Do some searching on "Word.Application" to find details about methods andf properties, etc.

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top