如何隐藏“文件”选项卡和“快速访问工具栏” [英] How to hide the File tab and Quick Access Toolbar

查看:543
本文介绍了如何隐藏“文件”选项卡和“快速访问工具栏”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我准备将Access 2016应用程序部署到最终用户并需要锁定前端。

I am ready to deploy an Access 2016 app to end users and need to lock down the front end.

USysRibbons表可以很好地隐藏功能区和。后台 

The USysRibbons table does a fine job of hiding the ribbon and backstage. 

我有  DoCmd.ShowToolbar" Ribbon" acToolbarNo在启动表单的load事件上。 如果我手动打开表单,它的工作成本为
,但如果表单在启动过程中打开,则无法运行。 是否有一些ld可以俯视?

谢谢

Richard Overturf MS Access开发人员美国佛罗里达州

Richard Overturf MS Access developer Florida, USA

推荐答案

你好hds-rick,

Hi hds-rick,

你可以创建一个隐藏功能区的功能。

You could create a function to hide the ribbon.

Function HideRibbon()
DoCmd.ShowToolbar "Ribbon", acToolbarNo
End Function

然后你可以创建一个宏来调用该函数,然后你可以重命名宏AutoExec。 Access将自动运行AutoExec宏,然后宏将调用HideRibbon。

And then you could create a macro to call the function and then you could rename the macro AutoExec. Access will auto run the AutoExec macro and then the macro will call HideRibbon.

这是演示。

您可以参考以下链接获取更多信息。

You could refer to below link for more information.

自动启动事件使用宏

此外,您还可以尝试将表单设置为默认表单以消失,然后将代码放入表单load event.So,访问将打开表单并在打开时加载表单加载事件。有关更多信息,请参阅以下链接。

Besides, you could also try to set a form as default form to disappear and then put the code in the form load event.So, access will open the form and load the form load event when it opens. Please refer to below link for more information.

#Set the default form that appears when you open an Access database

最诚挚的问候,

Terry


这篇关于如何隐藏“文件”选项卡和“快速访问工具栏”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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