For Each itm As object In RibbonTabs("订单").Groups("筛选").Items msgbox(itm.Name & " " & itm.Gettype.name) If Typeof itm Is RibbonMenu.ToggleButton Then itm.Pressed = False End IfNext