Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / FormatCellsActionCommand Class / CellType Method
The new cell type of the selection.


In This Topic
    CellType Method
    In This Topic
    Sets cell type to the current selection.
    Syntax
    'Declaration
     
    
    Public Shared Function CellType( _
       ByVal worksheet As IWorksheet, _
       ByVal cellType As Object _
    ) As FormatCellsActionCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim cellType As Object
    Dim value As FormatCellsActionCommand
     
    value = FormatCellsActionCommand.CellType(worksheet, cellType)

    Parameters

    worksheet
    cellType
    The new cell type of the selection.

    Return Value

    The command to set new cell type to the current selection.
    See Also