delete duplicate rows

R

rhys

i have a spreadsheet with duplicate email entries.
anyone know of a macro that can go down through the rows,
check to see if an email address is in any previous rows
and if so delete all remaining rows that contain that
duplicate email address?

cheers,

rhys.
 
D

Dave Ramage

Rhys,

One method is to use the Advanced Filter
(Data/Filter/Advanced Filter) with the Unique Records Only
option and no criteria.

To find how to use this in VBA use the macro recorder.

Cheers,
Dave.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top