DataColCnt Property
Applies To
fpSpread control
Description
Returns the last column that contains data in the sheet. This property is available at run time only.
Syntax
C++
long CSpreadSheet::GetDataColCnt( );
Visual Basic
[form.]fpSpread.DataColCnt
Remarks
The property returns the column number of the last column that contains data. Columns are numbered starting at 0 (the column that creates the row headers).
This property is returned for the current sheet setting unless you specify another sheet by setting the Sheet property.
To return the row number of the last row that contains data, use the DataRowCnt property.
Data Type
Long Integer
See Also
DataRowCnt property
DLL Correspondence
SSGetDataCnt function