By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

Feb 14 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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


On Feb 14, 9:00 am, "RobertK" <rob96...@gmail.comwrote:
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.

Feb 16 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.