I'm Creating excel and writting the data into excel(.xlsx) as String list.

i want to set few columns data fromat as Number/Numeric.

textStyle.setDataFormat(fmt.getFormat("@"));
sheet.setDefaultColumnStyle(12, textStyle);

What would be the Syntax for Number/Numeric??

Thanks
Aakeef 



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Setting-the-cell-type-to-numeric-for-an-entire-column-tp5714477.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]

Reply via email to