Share via


Range.RowDifferences Method

Returns a Range object that represents all the cells whose contents are different from those of the comparison cell in each row.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function RowDifferences ( _
    Comparison As Object _
) As Range
'Usage
Dim instance As Range
Dim Comparison As Object
Dim returnValue As Range

returnValue = instance.RowDifferences(Comparison)
Range RowDifferences(
    Object Comparison
)

Parameters

  • Comparison
    Type: System.Object

    Required Object. A single cell to compare with the specified range.

Return Value

Type: Microsoft.Office.Interop.Excel.Range

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace