For Each tab As object In RibbonTabs tab.visible = FalseNext
整体隐藏,参考
BaseMainForm.controls("C1Ribbon1").Visible = False