ptgArea is a reference to an area (rectangle) of cells. Essentially it is a collection of two ptgRef's, so it will be treated that way in the code...
Offset Size Contents ---------------------------------------------------- 0 2 Index to first row (065535) or offset of first row (method [B], -3276832767) 2 2 Index to last row (065535) or offset of last row (method [B], -3276832767) 4 2 Index to first column or offset of first column, with relative flags (see table above) 6 2 Index to last column or offset of last column, with relative flags (see table above) Only the low-order 14 bits specify the Col, the other bits specify relative vs absolute for both the col or the row. Bits Mask Name Contents ----------------------------------------------------- 15 8000h fRwRel =1 if row offset relative, =0 if otherwise 14 4000h fColRel =1 if row offset relative, =0 if otherwise 13-0 3FFFh col Ordinal column offset or number
@see Ptg
@see Formula