Reputation: 12621
I am using Apache POI for writing content into excel sheet. after generating an excel in all the cells which ever cell has numbers, it contains one blue mark(each cells left top corner). its like a warning. how can i remove them while writing the content to excel? PFA screen shot.
Thanks!
Upvotes: 4
Views: 5790
Reputation: 112
Below works for me.
**
HSSFCell cell = row1.createCell(i);
cell.setCellType(new Double(value));
**
Note: 'value' should be on numerals , it won't work on alphanumeric values. replace it wherever(cell values) it is required.
Upvotes: 0