Need an excel macro or sub which can find duplicate cells (of text) remove them and keep unique records

I need a sub in VBA excel which will remove duplicate or even triplicate records - and keep only unique cells of text.
zaza5586Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

samb39Commented:
Here's a menu command that does it:

-------------------------------
 Filter for unique records  
Select the column or click a cell in the range or list you want to filter.
On the Data menu, point to Filter, and then click Advanced Filter.
Do one of the following.
To filter the range or list in place, similar to using AutoFilter, click Filter the list, in-place.
To copy the results of the filter to another location, click Copy to another location. Then, in the Copy To box, enter a cell reference.
To select a cell, click Collapse Dialog  to temporarily hide the dialog box. Select the cell on the worksheet, and then press Expand Dialog .

Select the Unique records only check box.
Note   Once you filter for unique values, you can copy them to another worksheet and then archive or delete the original worksheet.
-----------------------------

Here's the macro that does it:

-------------------------------
Sub Macro3()
'
' Macro3 Macro
' Macro recorded 3/27/2006 by Sam
'

'
    Range("A1:A12").Select
    Range("A1:A12").AdvancedFilter Action:=xlFilterInPlace, Unique:=True
End Sub
------------------------------------

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jeroen RosinkSoftware testing consultantCommented:
You also might take a look at a free excel add-in which is developed by one of our Excel geniusses. It can be downloaded from: http://members.iinet.net.au/~brettdj

regards,
Jeroen
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.