Command - getPressed

Called when the user clicks this control.

Sets a value that indicates whether the state of an Access Ribbon ToggleButton is pressed or not pressed.

Function to be copied to a standard module:

Sub CallbackGetPressed(control As IRibbonControl, _
                       ByRef pressed)
    ' Callback getPressed
    pressed = True
End Sub

 


Back