This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 63548

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: 42959
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!