Dim pwd As String If InputPassWord(pwd,"提示","请输入密码:") Then If pwd = "123" Then RibbonTabs("Common").Groups("ClipBoard").Visible = not RibbonTabs("Common").Groups("ClipBoard").Visible RibbonTabs("Common").Groups("Data").Visible = not RibbonTabs("Common").Groups("Data").Visible RibbonTabs("Common").Groups("SortAndFilter").Visible = not RibbonTabs("Common").Groups("SortAndFilter").Visible End If End If
|