The Apache POI project provides a free open-source library for creating, reading and manipulating Microsoft Office documents. The functionality for working with Excel files is pretty mature and is quite feature-complete.
Lately, I was confronted with a problem concerning formula evaluation. I had a pre-existing Excel template file that had some cells with placeholder texts. These texts are replaced with number values available at runtime. The result is saved as a new file. This works great with POI until a cell with a placeholder text is used within a formula of another cell. When looking at the template, Excel then obviously complains about the data type of the values used within the formula.
