C# and DisableAutoMacros

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top