Solved

Java and Excel file?

Posted on 2011-03-10
6
318 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 35

Accepted Solution

by:
mccarl earned 100 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 100 total points
ID: 35100402
believe poi also supports that
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 200 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 100 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 200 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now