On Sat, 24 Dec 2011, Hans Hougaard wrote:
I'm using the usermodel of poi 3.7 to read an Office 2010 Excel workbook.

The cell at B8 is merged with neighbor cells C8:H8. This merged cell has a
value, say "XYZ" if I look at it in Excel. However, when I query the
cellType poi tells me CELL_TYPE_BLANK. The same goes for the other cells in
the merged range. Bottomline is I haven't been able to retrieve the "XYZ"
value of this particular cell.

Normally for this sort of thing, the cell value is stored in the first cell in the region, and the rest are blanked out, but sometimes it goes elsewhere (excel seems to do some odd things from time to time...)

I'd suggest you try using BiffViewer (in hssf.dev) to identify exactly which cell has your value in, there's a good chance it'll be a different one in the range

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to