所有项目数据表和管理项目被禁止了
If User.Type<>UserTypeEnum.Administrator Then
RibbonTabs("Table").Visible = False
RibbonTabs("Project").Visible =
False
RibbonTabs("Other").Groups("Execute").Items("SQLExecute").Enabled = False
RibbonTabs("Other").Groups("Execute").Items("Command").Enabled = False
Else
RibbonTabs("Table").Visible =
True
RibbonTabs("Project").Visible = True
RibbonTabs("Other").Groups("Execute").Items("SQLExecute").Enabled = True
RibbonTabs("Other").Groups("Execute").Items("Command").Enabled = True
End
If
怎样启用呢?