File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes how To compare to excel Files using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how To compare to excel Files using java" Watch "how To compare to excel Files using java" New topic

how To compare to excel Files using java

anilellendula kumar
Ranch Hand

Joined: Jul 12, 2005
Posts: 43
Hi All,

How To comapre two Excel sheets using java and difference of two excel sheets should write in log file where the difference in the two file

i.e log file contains the difference of two excel , want which API supports these comparison and wat is the process to compare
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Not a JSP question, so moving off to Java in General (intermediate).

[Asking smart questions] [About Bear] [Books by Bear]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I don't think Java is the right tool for such a job. If you have a small number of files to compare, you should be able to do this in Excel itself. If you have a large number of files, or you just want to automate it, VB or VBA would probably be much more suited to the task since they integrate well with Excel.


Java API Documentation
The Java Tutorial
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Jakarta POI is an excellent library that makes it easy to read and write Excel files (amongst other formats).
I agree. Here's the link:
subject: how To compare to excel Files using java
It's not a secret anymore!