VB macro or office addin for mac

前端 未结 1 1494
夕颜
夕颜 2021-01-16 10:43

Currently we developed a VB macro for word. While we tried to use it on mac it failed with message \"VB Macro not supported in mac\". Is there a way to c# office add-in for

相关标签:
1条回答
  • 2021-01-16 11:29

    Mac Office does not (i.e. no longer) support COM/VBA automation. This means that you won't be able to use code from your existing Windows add-in.

    In order to automate Mac Office you would have to make use of Automator Actions. I am not very familiar with these, but I believe that they are less feature-rich than the VBA object model of the Windows edition.

    The following page has some Actions to get you started:

    Microsoft Office Automator Actions

    Update: It seems that the new Mac Office 2011 comes again with some support for VBA automation.

    0 讨论(0)
提交回复
热议问题