Ron,
The function is NOT designed to be used as a worksheet function, but
rather by VBA as follows...
If Not StripDupes Then MsgBox "Error!" Else RunSomeOtherCode
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc