Range.CalculateRowMajorOrder method (Excel)

Calculates a specified range of cells.

Syntax

expression.CalculateRowMajorOrder

expression An expression that returns a Range object.

Return value

Variant

Remarks

The CalculateRowMajorOrder method calculates the specified 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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.