CommandButtonActiveXControl class

CommandButtonActiveXControl class

Represents a command button.

Inheritance: CommandButtonActiveXControl

The CommandButtonActiveXControl type exposes the following members:

Properties

PropertyDescription
workbook
typeGets the type of the ActiveX control.
width
height
mouse_icon
mouse_pointer
fore_ole_color
back_ole_color
is_visible
shadow
linked_cell
list_fill_range
data
is_enabled
is_locked
is_transparent
is_auto_size
ime_mode
font
text_align
captionGets and set the descriptive text that appears on a control.
picture_positionGets and set the location of the control’s picture relative to its caption.
pictureGets and sets the data of the picture.
acceleratorGets and sets the accelerator key for the control.
take_focus_on_clickIndicates whether the control takes the focus when clicked.
is_word_wrappedIndicates whether the contents of the control automatically wrap at the end of a line.

See Also