如何隐藏Excel常用工具栏
时间:2023-10-20 04:40:03
在Excel VBA中,如果需要隐藏Excel常用工具栏以方便用户的操作体验,可通过VBA设置Excel常用工具栏的显示状态隐藏Excel常用工具栏。Excel2003可通过VBA宏隐藏Excel常用工具栏。
隐藏Excel常用工具栏的方法:
首先按“Alt+F11”组合键,Excel2003打开代码编辑器,单击“插入”菜单-“模块”,双击插入的模块,在右侧的代码窗口中输入:
Sub Excel_Partner()
Application.CommandBars("Standard").Visible = False
If MsgBox("常用工具栏被隐藏!" & vbCrLf & "是否重新显示常用工具栏?", _
vbQuestion + vbYesNo) = vbNo Then Exit Sub
Application.CommandBars("Standard").Visible = True
End Sub
按F5运行键运行程序,即可隐藏Excel常用工具栏。
Excel常用工具栏可通过单击“视图”菜单-“工具栏”子菜单-“常用”菜单项隐藏Excel常用工具栏,再次单击,显示Excel常用工具栏。
标签:可通过,工具栏,常用,隐藏,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
快速解决360无线wifi怎么用的小妙招
2022-02-28 12:52:19
![](https://img.aspxhome.com/file/2023/3/a294966_0s.jpg)
删除Word2007尾注里的横线
2023-12-13 02:19:25
![](https://img.aspxhome.com/file/2023/0/21100_0s.jpg)
越狱后借助插件 NiceBarx 修改状态栏显示内容教程
2022-11-02 11:17:35
![](https://img.aspxhome.com/file/2023/3/a195783_0s.png)
win10任务管理器无法使用怎么办
2022-12-16 05:37:05
![](https://img.aspxhome.com/file/2023/2/a289185_0s.png)
excel表格如何把相同的内容找出
2022-07-10 07:25:31
Win7打开文件提示快捷方式存在问题的解决方法
2023-06-07 21:36:43
![](https://img.aspxhome.com/file/2023/28/a242880_0s.jpg)
Aiseesoft 4K怎么转换视频格式?Aiseesoft 4K使用教程
2022-10-28 03:21:07
![](https://img.aspxhome.com/file/2023/3/a212253_0s.jpeg)
Win11打开Windows终端显示找不到wt.exe文件的解决方法
2022-08-22 06:32:52
![](https://img.aspxhome.com/file/2023/1/a275697_0s.jpg)
Win10自带搜索网页预览当前不可用怎么解决?
2023-12-14 04:27:30
![](https://img.aspxhome.com/file/2023/5/51575_0s.png)
Win10系统鼠标右键点击没有任何反应怎么解决
2023-08-10 00:37:50
![](https://img.aspxhome.com/file/2023/4/a308716_0s.jpg)
word2013文档怎么加密
2023-12-09 18:05:42
![](https://img.aspxhome.com/file/2023/3/19743_0s.png)
ppt多张图片怎么制作折叠展示的艺术样式?
2023-12-26 11:53:53
![](https://img.aspxhome.com/file/2023/10/a348931_0s.jpg )
Word 2003 繁体艺术字制作
2022-07-12 00:44:12
Win10 PC预览版14332已知问题汇总 持续更新中
2022-01-25 00:26:19
![](https://img.aspxhome.com/file/2023/29/a261530_0s.jpg)
Win7语言包安装失败怎么办?Win7语言包安装失败的解决方法
2023-08-15 19:27:51
![](https://img.aspxhome.com/file/2023/26/a228027_0s.jpg)
章鱼输入法怎么用?使用章鱼输入法提高打字速度的方法介绍
2023-01-05 02:28:42
![](https://img.aspxhome.com/file/2023/5/a318230_0s.jpg)
MAC自带字典使用攻略
2022-12-10 00:52:29
![](https://img.aspxhome.com/file/2023/8/a216148_0s.jpg)
Win10显卡驱动安装提示错误怎么办?
2023-03-04 10:18:47
![](https://img.aspxhome.com/file/2023/1/a281685_0s.jpg)
Excel2010表格宏内容无法正常显示的原因和解决方法
2023-05-13 00:10:56
![](https://img.aspxhome.com/file/2023/4/43204_0s.jpg)
如何通过excel2007图标集的使用可以直观地判断数据的范围
2023-09-01 20:46:06
![](https://img.aspxhome.com/file/2023/2/a140382_0s.jpg)