-
Solved: compare worksheets
I am facing an issue in comparing two worksheets.
The scenario is I have two worksheets 1) Master 2) Sheet2
I would like to compare these two sheets and need a new sheet that contains records which are not common in both the sheets. I do not need records which are same in both sheets.
I have a macro for that and when I rn the same I got wrong output. Pls see sheet ?New? that contains the output of the macro that I ran.
Also attaching the same macro code in txt file.
Pls help ?.
-
Have a look at this post
Instead of deleting, you could cut and paste the rows. I'll check out your own code later.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
-
Hi Shane,
Please read this.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
Copy ALL data from both sheets to your new sheet and apply special filter to the new sheet to remove duplicates. Example code here
You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you
The major part of getting the right answer lies in asking the right question...
Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.
-
My Apologies
Thanks guys for ur assistance. n a BIG sorry for cross posting. My only intetion was to get the quick reply as at that time i was in gr8 trouble.
Thanks anyways
Best Regards.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules