Mark,
Thank you for your inputs.
I tried the below code and it worked. The contents of the cell are now
hidden from user view.
DataFormat format = workbook.createDataFormat();
CellStyle hiddenStyle = workbook.createCellStyle();
hiddenStyle.setDataFormat(format.getFormat(";;;"));
-Shankar
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Hide-the-Cell-Contents-tp3356317p3359514.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]