PDA

View Full Version : Uploading .doc - kill macros


dcwm
07-25-2009, 02:48 PM
I have an experimental web site to which MS Word documents can be uploaded by customers. Other customers can download from the site.

Once a document has been uploaded, I would like to be able to disable any macros.

Is this possible ? If so, how is it done, please ?

Mike_O
07-26-2009, 04:13 AM
Hey dcwm,

I believe you can do this via Office automation. To narrow your research, try looking into the Microsoft.Office namespace. I know there are objects/properties in there you can use for managing macros.

Mike