如何运行/启动 VBA 程序 mac excel 2011

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14747195/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 14:54:54  来源:igfitidea点击:

how to run/start VBA program mac excel 2011

excelmacosvba

提问by user2050030

I am new to VBA programing and want to practice on my mac. However, it appears that the bar that was on the top of my excel document where I start/run the program by pressing a play button has disappeared. Now I can't run my programs anymore simply because the bar I used before to start the program is gone. Would deeply appreciate help with getting that toolbar up again. Alternatively, what is the command for running a vba program on mac? On pc it's F9, F5. Anything similar?

我是 VBA 编程的新手,想在我的 Mac 上练习。但是,我的 excel 文档顶部的栏似乎通过按下播放按钮启动/运行程序已经消失。现在我不能再运行我的程序了,因为我之前用来启动程序的栏不见了。非常感谢帮助再次启动该工具栏。或者,在mac上运行vba程序的命令是什么?在PC上它是F9,F5。有没有类似的?

回答by enderland

Get to the Macro Editor:

进入宏编辑器:

Tools -> Macro -> Visual Basic Editor

From here, while this is active:

从这里开始,当它处于活动状态时:

View --> Toolbars --> Standard