可以在Office应用程序之外调用/使用VBE吗? [英] Can VBE be invoked/used OUTSIDE of an Office Application?

查看:68
本文介绍了可以在Office应用程序之外调用/使用VBE吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题-我在Google上没有找到任何内容.从Office应用程序打开VBE时,任务管理器中没有新程序填充,并且我看不到看起来可能的可执行文件.可能是DLL吗?

This may be a silly question - I haven't found anything on Google about this. No new programs populate in the task manager when VBE is opened from an Office Application, and I don't see an executable that looks probable. DLL maybe?

推荐答案

您可以调用CommandBarButtonOnAction宏作为Application.Run的代理.

You can invoke a CommandBarButton's OnAction macro as a proxy for Application.Run.

有关详细信息,请参阅此问题

For details, see this question How can I run a macro from a VBE add-in, without Application.Run?

这篇关于可以在Office应用程序之外调用/使用VBE吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆