Spread 8.0 Documentation
DataRowCnt Property
Support Options
ActiveX Reference > ActiveX Properties > DataRowCnt Property

Glossary Item Box

DataRowCnt Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Returns the last row that contains data in the sheet. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetDataRowCnt( );

Visual Basic

[form.]fpSpread.DataRowCnt

Remarks

The property returns the row number of the last row that contains data. Rows are numbered starting at 0 (the row that creates the column headers).

This property is returned for the current sheet setting unless you specify another sheet by setting the Sheet property.

To return the column number of the last column that contains data, use the DataColCnt property.

Data Type

Long Integer

See Also

DataColCnt property

DLL Correspondence

SSGetDataCnt function

Copyright © GrapeCity, inc. All rights reserved.