this is all completely independent of a webpage. all the webpage needs to do is mimic the end user. this can be done from the web.config authentication mode="Windows"
everything else is core .net or Office API.
note: the server will require ms word to be installed. as this is where all the work is taking place.
macros are vba code within the word document. maybe the API for Word has a way to execute macros. Note: pseudo code
Code:
something like
MsWord word = new MsWord();
Document doc = word.LoadDocument("file name");
doc.ExecuteMacro("name of macro");
doc.Save();
//dispose of resources.
you may want to start in a VBA/MS Office forum and find out how to programatically execute macros.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.