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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running VBScript on a Word doc in a browser

Status
Not open for further replies.

WelshMilla

Programmer
Jan 29, 2002
3
GB
I have a web page that opens a word document in a browser. I then want to run a VBScript that performs actions on the open document (eg. the Replace function). I have a script that will do this from the command prompt, but I don't know how to configure it to run from a browser.

The standalone version uses this command

Code:
Set W = CreateObject ("Word.Application")

to create the word object which I can then access using the W variable. Is there a similar method for accessing a word object in a browser?

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top