I had solved this problem by finding out the cell value length and then 
multiplied it by 256

ie if the cell value length is 35 then the column width is

sheet.setColumnWidth(colNo,(short)(35*256));

This was working for me


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to