wie komme ich per VBA an den getpressed Status eines Standard Excel Toggle Buttons, z.B. "Filter" in Excel 2007.
Vielen Dank für die Hilfe
Helmut
Dim objControl As CommandBarControl
'Filter *******
Set objControl = Application.CommandBars("Built-in Menus").FindControl(ID:=30031)
'Autofilter ****
Debug.Print objControl.Controls("Auto&Filter").State = msoButtonDown
'oder
'Autofilter ****
Debug.Print objControl.Controls(1).Caption
Debug.Print objControl.Controls(1).State = msoButtonDown
Gruß Tino