find matching cells on two different sheets

aem172

New Member
Joined
Aug 3, 2007
Messages
0
Hi,

Here is the situation:

I have two sheets in a workbook. On sheet 1 in columns A,B,C I have information. On sheet 2 in columns A,B,C I also have information. In column C on both sheets are numbers similar to SSN. I need a macro that will look at the values in column C on sheet 1 and then go to sheet 2 and find the exact number also in column C. Then, once the number is found, I need the macro to delete the entire row the number is in. Any help would be greatly appreciated. I am very new to macros and have no idea where to start. Thanks!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
aem172,

Welcome to the board.

Just to clarify your request. Is the following sentence correct?

If a number in Sheet2 column C, matches a number in Sheet1 column C, then delete the row in Sheet2.

Have a great day.
Stan
 
Upvote 0

Forum statistics

Threads
1,214,559
Messages
6,120,208
Members
448,951
Latest member
jennlynn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top