如何隐藏Excel功能区界面?
时间:2023-09-04 00:03:27
Q:在Excel中,可以使用快捷菜单“功能区最小化”命令或者“功能区最小化”按钮将功能区最小化,但有没有方法将功能区界面隐藏呢,如图1所示?
图1
A:下面介绍几种方法。
方法一:使用“自定义功能区”
在“文件”中单击“选项”,打开“Excel选项”对话框,单击“自定义功能区”;或者在Excel功能区中单击右键,选择“自定义功能区”。然后,取消“主选项卡”中复选框的所有选择,如图2所示。
图2
当然,你也可以选择想要在功能区中显示的选项卡,例如“开始”、“公式”等。
方法二:使用startFromScratch属性
通过Custom UI Editor打开要隐藏功能区界面的Excel文件,在菜单中选择“Insert-Office 2007 Custom UI Part”并输入XML代码,如图3所示。
图3
将ribbon元素的startFormScratch属性设置为true。结果如图4所示。
图4
虽然功能区消失了,但是界面中仍然有一些可供使用的命名,例如新建、打开、保存,等等。此外,并没有禁用任何内置的命令。
方法三:使用VBA代码
执行下面的代码:
‘隐藏功能区
Application.ExecuteExcel4Macro”Show.ToolBar(“”Ribbon””,False)”
Excel界面中的功能区选项卡及其控件将全被隐藏,如图5所示。
图5
执行下面的代码:
‘取消隐藏功能区
Application.ExecuteExcel4Macro”Show.ToolBar(“”Ribbon””,True)”
将恢复功能区显示。
标签:excel常用函数,excel常见问题,excel技巧,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word如何输入平方米符号
2022-07-13 10:58:10
![](https://img.aspxhome.com/file/2023/2/35392_0s.png)
怎么用Mac的Quicktime软件进行视频剪辑?用QuickTime Player for Mac修剪影片的基本教程?
2023-11-22 09:44:14
![](https://img.aspxhome.com/file/2023/1/a214081_0s.jpeg)
Word中2003版进行设置页边距的操作技巧
2022-08-10 08:53:14
怎么给Word文章快速分段?Word文章快速分段的方法
2022-09-05 04:24:33
![](https://img.aspxhome.com/file/2023/6/a324513_0s.png)
Excel中的sumif和sumifs函数讲解
2022-08-07 06:47:03
![](https://img.aspxhome.com/file/2023/3/a157193_0s.jpg)
wps office表格怎么边框
2022-01-29 12:00:57
![](https://img.aspxhome.com/file/2023/8/a168368_0s.png)
Excel对顶部或底部数字按百分比进行筛选
2023-07-20 16:43:09
excel表格中怎么画45度角?
2023-03-01 16:12:25
![](https://img.aspxhome.com/file/2023/5/40175_0s.png)
我的电脑中不显示百度网盘怎么办?不显示百度网盘的解决方法
2023-08-09 22:59:25
![](https://img.aspxhome.com/file/2023/1/a274392_0s.jpg)
怎样使用wps文字制作信纸
2022-11-20 10:47:37
U盘格式化的时候提示“Windows无法完成格式化”怎么解决?
2023-01-09 12:10:39
![](https://img.aspxhome.com/file/2023/3/a298226_0s.jpg)
Win10版本号怎么看?四种方法帮你了解Win10版本号
2023-11-12 01:32:36
![](https://img.aspxhome.com/file/2023/1/48941_0s.jpg)
Win11 22h2和21h2的区别?Win11 22h2系统有哪些改进?
2022-07-29 20:29:33
![](https://img.aspxhome.com/file/2023/27/a234762_0s.png)
PowerPoint 2013图片版式功能怎么使用
2022-10-12 01:34:38
![](https://img.aspxhome.com/file/2023/10/a344603_0s.jpg)
如果能在页最下面添加一行小计就更好了
2022-08-12 05:26:23
Word怎样自动生成目录
2022-09-21 09:01:43
Win10盗贼之海服务器暂时不可用请再试一次怎么办?盗贼之海进不去服务器
2023-08-19 07:17:17
![](https://img.aspxhome.com/file/2023/26/a221046_0s.jpg)
东芝笔记本怎样进入bios设置u盘启动?
2022-05-24 18:21:28
![](https://img.aspxhome.com/file/2023/6/a323085_0s.png)
PPT幻灯片基础入门:认识窗口界面
2022-10-21 09:20:11
![](https://img.aspxhome.com/file/2023/10/a347413_0s.gif)
Win10快速定位注册表编辑器某修改项的方法
2023-07-03 06:28:54
![](https://img.aspxhome.com/file/2023/29/a252476_0s.jpg)