vba 在 ms access 2010 中重新启用完整菜单、功能区

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12186208/
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-11 17:31:13  来源:igfitidea点击:

Re-enable Full Menu, Ribbon in ms access 2010

vbaribbonms-access-2010

提问by Ananta

I wanted my Access program to look like standalone and I got rid of all menus from customize. I was still seeing ribbon and office icon, where I would revert that back. Then I found this awesome answer to hide ribbon (including all menu) Disabling the Ribbon Bar Except for Reports (Print Preview) In MS-AccessSo, I used

我希望我的 Access 程序看起来像独立的,并且我从自定义中删除了所有菜单。我仍然看到功能区和办公室图标,我会在那里恢复它。然后我发现了这个很棒的答案来隐藏功能区(包括所有菜单)在 MS-Access 中禁用功能区栏(打印预览除外)所以,我使用了

DoCmd.ShowToolbar "Ribbon", acToolbarNo

Then comes new problem Now I cannot modify anything, design and more codes. How do I revert back?

然后是新问题现在我不能修改任何东西,设计和更多的代码。我如何恢复?

Thanks

谢谢

Edit: I know,

编辑:我知道,

DoCmd.ShowToolbar "Ribbon", acToolbarYes
可能是要走的路,但我也无法访问 VBA。

Ananta

阿难陀

回答by Fionnuala

Hold the shift key while you open the database, then press alt+F11and see if that gets the code window.

打开数据库时按住shift键,然后按下alt+F11并查看是否出现代码窗口。