read url parameter

T

ted munnich

Hi,
I am trying to pass a parameter through a url to the
autoopen macro of a word document. In the html file I have
the following code:
<a href="http://domain.com/docs/document.doc?
text=test">document</a>

How can I read the passed parameter in the word macro.

Any help is appreciated.

Thanks
 
M

Michael Smith

I don't think that's possible.
One way would be to make a real addin (using VisualStudio) that accepts
comman line switches, but you can't pass a switch like that through a URL.

Perhaps you could use ASP, or something similar, to change the file name,
and then have the macro get the parameter from that.
 

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