CheckBox.Index Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the index number of the CheckBox within the collection of OLEObjects on the sheet.
public:
property int Index { int get(); };
public int Index { get; }
member this.Index : int
Public ReadOnly Property Index As Integer
The index number of the CheckBox within the collection of OLEObjects on the sheet.
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Index. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Index
property.
The index value of controls added to the Microsoft Office Excel worksheet starts at 2 because it is the index of the OLEObjects collection of the sheet.