KDCalc Class Library

IComInterop.GetCellType Method (Int32, Int32, Int32)

Returns a CellType value for a cell on the specified sheet. Does not change the active sheet.

CellType GetCellType(
   int sheetIndex,
   int row,
   int col
);

Parameters

sheetIndex
the index of the worksheet
row
the desired cell's row
col
the desired cell's column

Return Value

The constant associated with the cell's type, either FORMULA, EMPTY, NUM, TXT, BOOL, ERR, or DATE.

See Also

IComInterop Interface | KnowledgeDynamics.KDCalc Namespace | IComInterop.GetCellType Overload List