+ Reply to Thread
Results 1 to 2 of 2

compare and find added or deleted rows

  1. #1
    helpwithXL
    Guest

    compare and find added or deleted rows

    Hi all,
    Thanx Tim Ogilvy for pointing me in the right direction for comparison
    of sheets. I am able to achieve the comparison when there is no
    addition or deletion of rows the 2nd sheet as compared to the 1st
    sheet.
    so can someone tell me what logic/algorithm to use to find out if
    there had been a deletion/addition of rows in the 2nd sheet. my sheets
    are rather big with 7-800 rows and 1-150 columns.

    TIA
    amit


  2. #2
    Forum Contributor
    Join Date
    03-03-2005
    Posts
    315
    Use Activesheet.UsedRange.rows.count to compare the rows btwn the 2 sheets

    To compare Columns for deletions/additions, employ:
    Activesheet.UsedRange.Columns.count

    HTH

+ 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