On Wed, 15 Apr 2009, Maurya, Dilip wrote:
I was wondering if the cell style created from one work book and be used
in other work book.

Not directly - a cell style holds all its details in the records stored in one workbook, so can't be applied to another. Instead, set your first cell style up as you want it to be, then create one on the 2nd workbook and clone it over.

HSSFCellStyle.cloneStyleFrom is the method you'll want

Nick

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

Reply via email to