Deleting Duplicate Cells

schelber

Board Regular
Joined
Oct 22, 2005
Messages
172
Hello, I have a question for a workbook I have which webqueries into separate worksheets.

Once the query is done I am looking for a macro that would , when run, look for duplicate cell entries in every row cell of column "A" and if found delete the entire row of either of the duplicates , but not all.

There are roughly 300 row entries in column "A" and the dups are usually adjacent to each other if that matters.

Sometimes a triplicate can be found also so I am trying to figure out something all encompassing.

I have 15 worksheets that have the exact same kind of data queried into them....each worksheet is named ( Bill, Bob,Sue etc.....) and would like for the macro to do this for each worksheet in the book.

The workbook's name is "Training"

Any help would be appreciated with respect to the VBA.

Regards, Rich
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,214,834
Messages
6,121,873
Members
449,056
Latest member
ruhulaminappu

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