Solved

Java and Excel file?

Posted on 2011-03-10
6
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Maven Project: Hibernate Dependencies Conflict 10 86
Java program running SQL query 5 61
Java List 4 74
How to fix  socket closed error 11 61
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

737 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