Hi,
I try to untoglgle a button after use. My xml code is
[/URL][/IMG]
and I tried this in VBA
without success. Any hint?
I try to untoglgle a button after use. My xml code is

and I tried this in VBA
Code:
Sub TbtnManClick(control As IRibbonControl, Pressed As Boolean)
Dim Manvalue As Variant
Manvalue = InputBox(Range("LgMan"), Range("LgMan"), Range("RngMan"))
Range("RngMan") = Manvalue
[COLOR=#ff0000]'Untoggle the button????[/COLOR]
returnedVal = False
Pressed = False
End Sub
Sub GetPressed(control As IRibbonControl, ByRef returnedVal)
returnedVal = False
Pressed = False
End Sub
without success. Any hint?