CommandButton Members

Use the CommandButton control to execute or cancel actions. In addition to the members listed for the general Control object, the CommandButton control has the following members. Key members (shown in bold) are covered in the following reference section:

Accelerator

AutoSize

BackColor

BackStyle

Caption

Enabled

Font

ForeColor

Locked

MouseIcon

MousePointer

Picture

PicturePosition

TakeFocusOnClick

WordWrap

 

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.