c# word automation need code to delete all macros in a word document

  • Thread starter Thread starter RobertK
  • Start date Start date
R

RobertK

I need to write a c# code that will open up word documents and delete
all the macros in it. Can some one please give me a code example or
any ideas on how to do this.

I already know how to open word docs from c# but I need the code to
find all macros and remove them.
 
dude just use VBA for that sort of crap

VBA _WORKS_ with office, C# does not

Tools, Macros, Visual Basic Editor

C# is an afterthought; a bloody tampon, a messy abortion
 
Back
Top