Share via


Range.CalculateRowMajorOrder Method

Calculates a specfied range of cells.

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

Syntax

'Declaration
Function CalculateRowMajorOrder As Object
'Usage
Dim instance As Range
Dim returnValue As Object

returnValue = instance.CalculateRowMajorOrder()
Object CalculateRowMajorOrder()

Return Value

Type: System.Object
Object

Remarks

The CalculateRowMajorOrder() method calculates the specified range range cell-by-cell, from its top left corner to its to bottom right corner in row-major order. This is the same process that is used by Excel 2000 and earlier versions to calculate a range.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace