I am pulling an unknown amount of columns and rows from a DB and iterating through these to write the results into an excel file using POI (HSSF). Unfortunately when I pull a
string from the database and write this string to the .xls file when I then open up the .xls file using excel there is a little green triangle in the corner of the aforementioned cell which (when hovered over) states "The number in this cell is formatted as text or preceded by an apostrophe.".
I understand this is just a "feature" of excel trying to warn me, but is there any work around to this? I don't want to check every cell I am writing to see if it's numeric before I write it bc that would be a big performance hit.
Any ideas?