Er, forgive me if I am being a bot thick but have you looked at the
autoSizeColumn(int) method yet? I guess most people use it to ensure the
colunms are large enough but I would imagine that it can adjust the size
both ways, up and down.

Yours

Mark B

PS The method is defined on the Sheet interface and should be accessible for
both HSSFSheet and XSSFSheet instances.
-- 
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/How-to-set-the-cell-shrink-to-fit-tp3304220p3339748.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to