Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / SpecialCells Method
The cells to include.
If type is either SpecialCellType.Constants or SpecialCellType.Formulas, this argument is used to determine which types of cells to include in the result. These values can be added together to return more than one type. The default is to select all constants or formulas, no matter what the type.


In This Topic
    SpecialCells Method
    In This Topic
    Gets a IRange object that represents all the cells that match the specified type and value.
    Syntax
    'Declaration
     
    
    Function SpecialCells( _
       ByVal type As SpecialCellType, _
       Optional ByVal value As SpecialCellsValue _
    ) As IRange
    'Usage
     
    
    Dim instance As IRange
    Dim type As SpecialCellType
    Dim value As SpecialCellsValue
    Dim value As IRange
     
    value = instance.SpecialCells(type, value)

    Parameters

    type
    The cells to include.
    value
    If type is either SpecialCellType.Constants or SpecialCellType.Formulas, this argument is used to determine which types of cells to include in the result. These values can be added together to return more than one type. The default is to select all constants or formulas, no matter what the type.

    Return Value

    An IRange object that represents all the cells that match the specified type and value
    See Also