Using ActiveWindow from an ASP script or website

D

Deb Plos

I've set up an ASP that runs a script remotely using a batch file. Included in the script is the following:
With wordDoc.ActiveWindow.Selection
.Text = "Top Line Summaries for MYPROJECT"
... etc.

The "ActiveWindow" command fails when the batch file is called from the website. If I click on the batch file directly on the server, it runs fine. Is there a way to convince the script to run the With? Using the website it will create the Word document but not write anything in it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top