excel表中菜单栏工具栏都没了怎么办?

办公教程导读

收集整理了【excel表中菜单栏工具栏都没了怎么办?】办公软件教程,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1200字,纯文字阅读大概需要2分钟

办公教程内容图文

打开一个excel文件,按ALT+F11,然后在打开的窗口中点击插入——模块把下面的字体复制到对话框中:
Sub aaa()
Dim aa, bb As Boolean
aa = True
bb = False
Application.CommandBars("ply").Enabled = aa
Application.CommandBars("cell").Enabled = aa
Application.CommandBars("toolbar list").Enabled = aa
Application.CommandBars("autocalculate").Enabled = aa
Application.CommandBars("worksheet menu bar").Enabled = aa
Application.CommandBars(1).Enabled = aa
Application.CommandBars(2).Enabled = aa
Application.CommandBars(3).Enabled = aa
Application.CommandBars(3).Controls(3).Enabled = aa
Application.CommandBars(4).Enabled = aa
Application.CommandBars(5).Enabled = aa
Application.CommandBars(1).Enabled = aa
Application.CommandBars(1).Controls(1).Enabled = aa
Application.CommandBars("file").Controls("页面设置(&U)…").Enabled = aa
Application.CommandBars(1).Controls(4).Enabled = aa
Application.CommandBars(1).Controls(4).Caption = "victor"
Application.CommandBars(1).Reset
Application.DisplayFormulaBar = aa
Application.DisplayStatusBar = aa
ActiveWindow.DisplayHeadings = aa
ActiveWindow.DisplayWorkbookTabs = aa
ActiveWindow.DisplayHorizontalScrollBar = aa
ActiveWindow.DisplayVerticalScrollBar = aa
End Sub
然后按F5,运行宏aaa,然后关闭,回到excel中就可以看到工具栏、菜单栏等都又出现了。

办公教程总结

以上是为您收集整理的【excel表中菜单栏工具栏都没了怎么办?】办公软件教程的全部内容,希望文章能够帮你了解办公软件教程excel表中菜单栏工具栏都没了怎么办?
如果觉得办公软件教程内容还不错,欢迎将网站推荐给好友。

hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » excel表中菜单栏工具栏都没了怎么办?