+ Reply to Thread
Results 1 to 5 of 5

Differences Between 2 Spreadsheets

  1. #1
    Registered User
    Join Date
    01-12-2011
    Location
    Mtl
    MS-Off Ver
    Excel 2007
    Posts
    69

    Differences Between 2 Spreadsheets

    Hi all,

    I have 2 spreadsheets. One is constantly being changed (rows being added or deleted) and I have one that is static.

    Is there a way to flag or show the differences in each sheet?

    I have posted an example of what is going on
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Differences Between 2 Spreadsheets

    hi, ZackG, are these changes (rows added or deleted) the only you need to monitor and what is the real data length in rows?

  3. #3
    Registered User
    Join Date
    01-12-2011
    Location
    Mtl
    MS-Off Ver
    Excel 2007
    Posts
    69

    Re: Differences Between 2 Spreadsheets

    Hi watersev,

    Yes, these changes are the only ones I would like to monitor. The length of the row goes to Column L.

    I hope that helps.


    Zack

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Differences Between 2 Spreadsheets

    check attachment, run macro "NewRow". The code checks if the row is new by value in column B and C. If it's not enough I will amend the code to check by all columns till L
    Attached Files Attached Files
    Last edited by watersev; 02-24-2011 at 03:31 AM.

  5. #5
    Registered User
    Join Date
    08-19-2011
    Location
    Tigerville, SC, USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Differences Between 2 Spreadsheets

    Hey, i used this macro to great effect. however, in my case i also have row deletions in the changing sheet and when the macro gets to this point it begins to flag all records as new. looking at the code (not very up on VB) it looks like i may be able to change it to determine if the value in the static static sheet is no longer present in the changing sheet by doing a comparison, and resetting the loop value. i am going to work on it a bit, but if you have an idea, it would be appreciated.

    oops, sorry. now that i look closer, it is not a row deletion problem. however, the macro begins to flag all records new at row 185. i will look further to see if i can figure out the problem.
    Last edited by lpg21051; 08-19-2011 at 09:19 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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