This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

POI - HSSFCell.setCellValue (HSSFRichTextString)  RSS feed

 
Subhakar Gummadi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using the latest POI API to create an Excel File. After creating the Cell, when I tried to use the following code, I am getting Run time Errors.

<code>
HSSFRichTextString hrts = new HSSFRichTextString("TEsting");
cell.setCellValue(hrts);
</code>

There are no compilation Errors.

When I am using the following line of code instead of above two lines, then I am getting a warning message that the method is decripacated. But no run time errors.

cell.setCellValue("Event Name");

My Question: Can any one please help me to fix this issue or Is there any update on this issue any where on the internet?

Thank you all great people!!!

- Subhakar.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What runtime error is that?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!