https://issues.apache.org/bugzilla/show_bug.cgi?id=39392


Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #4 from Yegor Kozlov <[email protected]>  2009-04-04 06:19:13 PST ---
You are applying data format to the same cell style, that is why it affects all
the cells. To apply per-cell format you need to create a style for each cell:

        style = wb.createCellStyle();
        style.setDataFormat(iFormat);
        cell.setCellFormula("1/"+ String.valueOf(iFormat));
        cell.setCellStyle(style);

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to