Skip to content

CellObject

On this page

Worksheet Cell Object containing value, format, formula, and metadata

interface CellObject

Properties

NameTypeRequiredDescription
vstring | number | boolean | DateNoRaw cell value (string, number, boolean, or Date)
wstringNoFormatted text representation of the cell value
tExcelDataTypeYesCell data type code
fstringNoCell formula string (without leading "=")
FstringNoRange of a shared/array formula (e.g. "A1:B2")
DbooleanNoIf true, the formula is a dynamic array formula
ranyNoRich text / XML representation
hstringNoHTML rendering of the cell (when cellHTML option is enabled)
cCommentsNoComments attached to this cell
zNumberFormatNoNumber format string or index
lHyperlinkNoHyperlink on this cell
sCellStyleNoStyle object (when cellStyles option is enabled)
XF{ numFmtId?: number; numFmt?: NumberFormat }NoRaw XF (extended format) record data