XML Pulisher: the macro cannot be found or has been disabled because of your macro security settings

前端之家收集整理的这篇文章主要介绍了XML Pulisher: the macro cannot be found or has been disabled because of your macro security settings前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

装了Xml publisher开发工具后一般想在Word里面去用它的插件,第一次加载Template或Data definition 经常会遇到:

Error:the macro cannot be found or has been disabled because of your macro security settings


这个报错是因为你加入了第三方的插件如果要在Developer mode下工作还得在MSCOMCTL.OCX这个文件注册,所以解决方法是:

管理员权限运行cmd

    • 64位系统,输入以下:
      Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"
    • 32位系统,输入以下:
      Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"

猜你在找的XML相关文章