Solved

Java and Excel file?

Posted on 2011-03-10
6
342 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
Technology Partners: 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 36
web project error add remove 1 49
program arguments vs VM arguments 4 25
Coding for the first time 9 62
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

740 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