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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,214,979
Messages
6,122,557
Members
449,088
Latest member
davidcom

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