我做了个隐藏和显示菜单的功能,发现隐藏了后还有一块空区域,这块空区域如何去掉
此主题相关图片如下:微信图片_20241211103230.png
For Each tb As RibbonMenu.Tab In RibbonTabs
If tb.visible = True Then
tb.visible = False
ApplicationMenu.Visible = False
Else
tb.visible = True
ApplicationMenu.Visible = True
End If
Next