开发者

disable macro when opening word documents using office interop apis

hi how to disable macros when opening documents using office interop apis. I a开发者_开发问答m currently using office 2007.

thanks in advance


If you're automating using VB.NET, it's quite easy - see this thread for an example of DisableAutoMacros: How to open document that contains AutoOpen macro with PowerShell?. I was never able to figure out how to do this in C# though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜