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

execute macro programmatically 1

Status
Not open for further replies.

beginner999

Programmer
Mar 5, 2008
30
US
How can I
1)run a macro in word document macro from the aspx page
2)Then unprotect the document
3)Then put it in a folder

Thanks and I appreciate your help
 
Perhaps not enough detail.

The Document_Open event executes when the document is opened. It can execute any set of instructions you like, including unprotecting and saving to a folder.

faq219-2884

Gerry
My paintings and sculpture
 
how can I go and say in my code.
1) my word document has a macro where you double click it to run.
2) After running it, I need to unprotect the word document.

So how can I make it automated programmatically instead of doing manually?
 
Thanks
how can I go and say in my code.
1) my word document has a macro where you double click it to run.
2) After running it, I need to unprotect the word document.

So how can I make it automated programmatically instead of doing manually?
 
from the aspx page
You're inside an IIS environment ?
Where is the word document located ?
Even Microsoft discourage using any office automation in a web page ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top