CGXRange::GetNextCell
BOOL GetNextCell(ROWCOL& nRow, ROWCOL& nCol, BOOL bSortByRow = TRUE) const;
nRow
A reference to a row id which will receive the row value.
nCol
A reference to a column id which will receive the column value.
bSortByRow
Specifies whether to iterate through the cells row by row or column by column. TRUE for row precedence; FALSE for column precedence.
Remarks
Call this method to iterate through the cells after you have called GetFirstCell.