+ Reply to Thread
Results 1 to 2 of 2

Compare .xlsx files for differences

  1. #1
    Registered User
    Join Date
    05-03-2014
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Compare .xlsx files for differences

    I have written a VBA code to compare two excel sheets cell by cell and display the result in 3rd excel sheet like this Screenshot1.jpg which is displayed all the rows with difference and without difference but i want to display only failed rows as shown in Compare_String.jpg.Compare_String.jpg
    Here is the VBA code

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Above CommandButton1_Click() will two excel sheets ws1.xlsm and ws2.xlsx
    Last edited by simplymanasmandal; 05-04-2014 at 01:22 AM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Compare .xlsx files for differences

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Compare 2 Excel files with multiple tabs for differences (find changes)
    By bdicarlo1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 05:58 PM
  2. [SOLVED] Need to compare .xlsx files in tow different folders
    By phanikumar in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-22-2012, 10:55 AM
  3. How to compare 2 .xls and .xlsx files in office 2010
    By tejastrivedi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2012, 05:18 AM
  4. Macro to compare two excel files and highlight the differences
    By neets1228 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-14-2012, 05:18 AM
  5. Need to compare two different extension ( .Xlsx and .CSV ) of files..
    By phanikumar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 05:03 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1