'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)
IRange SpecialCells( SpecialCellType type, SpecialCellsValue 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