开发者

disable macro when opening word documents using office interop apis

开发者 https://www.devze.com 2023-01-28 01:00 出处:网络
hi how to disable macros when opening documents using office interop apis. I a开发者_开发问答m currently using office 2007.

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

精彩评论

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