Opening Templates from the Intranet

K

klav

I designed a template with an autoopen macro in it. We posted a link to the
template on our Intranet but the autoopen macro did not execute -- no errors,
but nothing happened.

So I decided to try another way of executing the macro; instead of autoopen,
I created a macro named "startdoc".

Then we used the startup switch "/mstartdoc" in our html page -- example:
winword.exe [templatename] /mstartdoc

This did not work either.

So my question is how can I open a template and execute a macro from an html
page?
 
T

Tony Jollans

It's deliberately designed so that you can't do this. In the general case
one does not want code running automatically when a word document is opened
from a browser. I'm afraid there is, as far as I know, no way, and certainly
should be no way, round 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