主菜单,selectTab事件
If e.Sender.name = "ProductionDept" then
msgbox(123)
If Functions.Execute("QuanXian","部门权限","生产部") = False Then
RibbonTabs("Other").Selected = True
End If
End if