Muokkaa

Jaa


CommandButton control

Starts, ends, or interrupts an action or series of actions.

Remarks

The macro or event procedure assigned to the CommandButton Click event determines what the CommandButton does. For example, you can create a CommandButton that opens another form. You can also display text, a picture, or both on a CommandButton.

The default property of a CommandButton is the Value property. The default event for a CommandButton is the Click event.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.