Applies To
ToolbarButton Object.
Description
True if the button appears pressed down. Read-write.
Remarks
You cannot set this property for a built-in button. You can only set it for a custom button, and then only if the button has a procedure attached to it.
See Also
Enabled Property.
Example
This example adds a custom button to the Standard toolbar, attaches the my_Macro procedure to the button, and then makes the button appear pressed.
Set btn = Toolbars("Standard").ToolbarButtons.Add _ (button:=220, before:=3) btn.OnAction = "my_Macro" btn.Pushed = True