If MainTable.Name = "首页" Then Dim itm As object For Each itm In RibbonTabs() itm.Visible = False Next ApplicationMenu.Visible = False QAT.Visible = False TableCaptionVisible = False Else Dim itm As object For Each itm In RibbonTabs() itm.Visible = True Next
ApplicationMenu.Visible = True QAT.Visible = True TableCaptionVisible = True End If