Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Java and Excel file?

Posted on 2011-03-10
6
Medium Priority
?
365 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:heyday2004
6 Comments
 
LVL 36

Accepted Solution

by:
mccarl earned 400 total points
ID: 35100195
I have used JExcelApi in the past with good results. It probably depends on exactly what you want to do with the excel file, but what you described above is very similar to what I was doing, ie. opening a template file, filling in data values, saving the file with a new name, etc.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 400 total points
ID: 35100402
believe poi also supports that
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 800 total points
ID: 35100525
I used to use Formula One many years ago - I believe it was doing from java perhaps not all but very many
Excel functions. Now it is called ReportingEngines from Actuate - it probably should help.
Whether it is worth paying money for it, or rather use POI - that's another question.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 400 total points
ID: 35105274
JReports you can use !
0
 

Author Comment

by:heyday2004
ID: 35106370
Thanks for the replies. I'm using Excel 2007, seems JExcelApi doesn't support Excel 2007? My purpose is to automate the excel file generation, i.e. auto refresh pivot table data, etc. Thanks for any further input.
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 800 total points
ID: 35106403

Looks like Actuate eSpreadsheet does support Excel 2007, see:
http://www.xlsoft.com/jp/products/actuate/pdf/Actuate_Supported_Products_10_eSE.pdf


 
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question