ControlExtensions::AddButton Method

 

Adds a new Button control to the worksheet.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddButton(ControlCollection^, Double, Double, Double, Double, String^)

Adds a new Button control to the worksheet in the specified size and location.

System_CAPS_pubmethodSystem_CAPS_staticAddButton(ControlCollection^, Range^, String^)

Adds a new Button control to the worksheet at the range specified.

Return to top
Show: