Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to Compair two Excel files using Macro ?

I have two excel files with similar data ( not exactly same but column names
are same), I want to compair both file data using Macro and find out those
cells which have not common in first file to second file.

Can any body help me.


--
Rgds

Nitesh Mathur
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to Compair two Excel files using Macro ?

Myrna Larson and Bill Manville have developed a compare that's very nice.

http://www.cpearson.com/excel/whatsnew.htm
look for compare.xla

But the bad news is that this does a cell-by-cell comparison.
A1 compares to A1, x99 to x99, etc.

If you insert/delete a row or column, then this won't work very well.

=======
Another alternative that may work depending on what kind of differences you're
looking for (values, not formulas, not formatting, not comments, not objects):

Save each worksheet as a .csv file and use any comparison program you want to
compare two text files--like MSWord.

Nitesh Mathur wrote:

I have two excel files with similar data ( not exactly same but column names
are same), I want to compair both file data using Macro and find out those
cells which have not common in first file to second file.

Can any body help me.

--
Rgds

Nitesh Mathur


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 213
Default How to Compair two Excel files using Macro ?

Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
Is there another location for the file?
--
Regards

Rick
XP Pro
Office 2007



"Dave Peterson" wrote:

Myrna Larson and Bill Manville have developed a compare that's very nice.

http://www.cpearson.com/excel/whatsnew.htm
look for compare.xla

But the bad news is that this does a cell-by-cell comparison.
A1 compares to A1, x99 to x99, etc.

If you insert/delete a row or column, then this won't work very well.

=======
Another alternative that may work depending on what kind of differences you're
looking for (values, not formulas, not formatting, not comments, not objects):

Save each worksheet as a .csv file and use any comparison program you want to
compare two text files--like MSWord.

Nitesh Mathur wrote:

I have two excel files with similar data ( not exactly same but column names
are same), I want to compair both file data using Macro and find out those
cells which have not common in first file to second file.

Can any body help me.

--
Rgds

Nitesh Mathur


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default How to Compair two Excel files using Macro ?

http://www.cpearson.com/excel/Download.htm

Scroll down to "Compare"

I just downloaded the file in past 2 minutes.


Gord Dibben MS Excel MVP

On Mon, 8 Oct 2007 16:07:02 -0700, Rick S.
wrote:

Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
Is there another location for the file?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to Compair two Excel files using Macro ?

Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP

That link is wrong. The correct link is
http://www.cpearson.com/Zips/Compare.zip


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Rick S." wrote in message
...
Link appears to be dead. http://www.cpearson.com/excel/Zips/Compare.ZIP
Is there another location for the file?
--
Regards

Rick
XP Pro
Office 2007



"Dave Peterson" wrote:

Myrna Larson and Bill Manville have developed a compare that's very nice.

http://www.cpearson.com/excel/whatsnew.htm
look for compare.xla

But the bad news is that this does a cell-by-cell comparison.
A1 compares to A1, x99 to x99, etc.

If you insert/delete a row or column, then this won't work very well.

=======
Another alternative that may work depending on what kind of differences
you're
looking for (values, not formulas, not formatting, not comments, not
objects):

Save each worksheet as a .csv file and use any comparison program you
want to
compare two text files--like MSWord.

Nitesh Mathur wrote:

I have two excel files with similar data ( not exactly same but column
names
are same), I want to compair both file data using Macro and find out
those
cells which have not common in first file to second file.

Can any body help me.

--
Rgds

Nitesh Mathur


--

Dave Peterson




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compair bbrodsky Excel Worksheet Functions 1 August 11th 09 06:29 PM
compair 2 excel file's and import data from 1 to the other Steven Van Laethem Excel Discussion (Misc queries) 1 July 30th 09 11:02 PM
Compair two sheets and return differences Don Excel Discussion (Misc queries) 0 January 21st 08 01:37 AM
need to compair two excell docs and find the changes Richard 66 Excel Discussion (Misc queries) 2 August 10th 06 09:52 PM
Macro to open *.dat files and save as .txt (comma delimited text files) [email protected] Excel Programming 2 November 30th 05 05:50 AM


All times are GMT +1. The time now is 06:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"