PC Review


Reply
Thread Tools Rate Thread

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

 
 
RobertK
Guest
Posts: n/a
 
      14th Feb 2007
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.

 
Reply With Quote
 
 
 
 
pfc_sadr@hotmail.com
Guest
Posts: n/a
 
      16th Feb 2007
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.com> wrote:
> 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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I delete a Word document without closing Word (2007)? Candy Microsoft Word New Users 11 18th Jan 2008 06:33 PM
How do I delete a word document on Microsoft Word 2007? =?Utf-8?B?YXNobGV5ag==?= Microsoft Word Document Management 1 10th Sep 2007 09:54 PM
Word Automation, reading word document in XML format R1gg4 Microsoft Dot NET 0 10th Aug 2006 03:35 PM
Word Automation, reading word document in XML format R1gg4 Microsoft Dot NET Framework 0 10th Aug 2006 03:35 PM
Word Automation, reading word document in XML format R1gg4 Microsoft VB .NET 0 10th Aug 2006 03:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:59 PM.