> Just to ensure that I understand your conclusion, I have no way to > determine the style and then apply it to a number field while reading a > spreadsheet. >
You can (by some dirty Java tricks) get the names and some index for all styles in use. This gives you a list of names *per workbook*. For my purpuse I just wanted to know which style an existing *cell* is using. This is currently impossible. POI doesn't read the named style record of a cell. I haven't tried to set such a style for some cell but would guess this is the same difficulty. HTH Axel
