I have a complicated Excel (2007) template with pivot tables, etc. Now I want to automate the excel generation process: fill in the data to this template, auto-refresh the datasource/pivot table, save the file, etc. All automatically done in Java. Is it possible? Is POI capable of doing this? Thanks for any input.