VBA Extensibility in Outlook

前端 未结 1 1902
既然无缘
既然无缘 2021-01-26 12:57

I\'d like to write a macro for Outlook 2007 that can add/remove modules in the VBA editor. The VBA Extensibility library looks perfect, but properties like Application.VBE seem

1条回答
  •  梦毁少年i
    2021-01-26 13:16

    I worked around the limitations using SendKeys:

    • Alt-F11
    • Ctrl-M
    • Path to code module
    • Enter

    Not elegant, but good enough.

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