API / interfaces / cellobject
Interface: CellObject
Worksheet Cell Object containing value, format, formula, and metadata
Properties
v
optional
v: string | number | boolean | DateRaw cell value (string, number, boolean, or Date)
w
optional
w: stringFormatted text representation of the cell value
t
t: ExcelDataTypeCell data type code
f
optional
f: stringCell formula string (without leading "=")
F
optional
F: stringRange of a shared/array formula (e.g. "A1
")D
optional
D: booleanIf true, the formula is a dynamic array formula
r
optional
r: anyRich text / XML representation
h
optional
h: stringHTML rendering of the cell (when cellHTML option is enabled)
c
optional
c: CommentsComments attached to this cell
z
optional
z: NumberFormatNumber format string or index
l
optional
l: HyperlinkHyperlink on this cell
s
optional
s: anyStyle object (when cellStyles option is enabled)
XF
optional
XF: { numFmtId?: number }Raw XF (extended format) record data
Source
src/types.ts