vba如何去掉excel菜单栏
发布网友
发布时间:2022-06-01 02:50
我来回答
共2个回答
热心网友
时间:2023-11-16 00:56
Sub hidebar()
Application.CommandBars(1).Enabled = False
Application.DisplayFullScreen = True
Application.CommandBars("Full Screen").Visible = False
With ActiveWindow
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
End With
End Sub
Sub unhidebar()
Application.CommandBars(1).Enabled = True
Application.DisplayFullScreen = False
With ActiveWindow
.DisplayHorizontalScrollBar = True
.DisplayVerticalScrollBar = True
End With
End Sub
供参考。
热心网友
时间:2023-11-16 00:56
去掉自定义菜单吗?