Buttons Property

Example   Applies To   See Also

An array for accessing every button in a group. Not available at design time.

Syntax

Control.Buttons (nIndex).Property = Value
-or-

Control.Buttons (nIndex).Method

Settings

nIndex

An integer between 1 and the number of buttons specified in the ButtonCount property for Control.

Property

A property of a CommandButton or OptionButton.

Value

The value of Property.

Method

A method of a CommandButton or OptionButton.

Remarks

You can use the Buttons property to set properties and call methods for all the buttons in the group. The Buttons property is an array that is created when the button group is created.