DisableAutoMacros and Word

  • Thread starter Thread starter Dominic Godin
  • Start date Start date
D

Dominic Godin

Hi,

I have just moved from Delphi to C#. I'm writing an application that needs
to open Word templates and alter them. These templates have auto macros
that fire when they are opened. In Delphi I could stop this by the
following:

OleVariant(MSWord.WordBasic).DisableAutoMacros;

Any idea how I can achieve the same thing in C#. I've been searching for
ages and found nothing.

Thanks

Dominic Godin

P.S New server is playing up so i'm sorry if this is a double post
 
Back
Top