CGXFormulaSheet::GetTextRowCol

int GetTextRowCol(ROWCOL nRow, ROWCOL nCol, CString& sText);

nRow

Specifies the grid row of the cell.

nCol

Specifies the grid column of the cell.

sText

A reference to a CString object where the result text will be stored.

Return Value

Not used.

Remarks

Returns the text value for a cell. Numeric values will be converted to strings. Formulas will be evaluated if necessary. Cells with error state will return "Error!" as text.

To get the formula expression for a cell you should call GetExpressionRowCol.

See Also

 CGXFormulaSheet::GetExpressionRowCol

CGXFormulaSheet

 Class Overview |  Class Members