ButtonType Property (ButtonCellType)
Gets or sets what type of command button to display.
Property Value
ButtonType setting that determines the type of button
This example shows the use of this method by creating a spreadsheet, setting the first two columns of cells to be button cells and constructing the buttons with a CommandNames of "MyRed" and "MyBlue". (In the ButtonCommand event, the CommandNames are queried and the background color of the spreadsheet is changed depending on the CommandName.)