its look like to extrac a* list of unique values *form Range Rng1 CMIIW
On Mon, Jun 27, 2011 at 6:24 AM, netuser1110 <netuser...@gmail.com> wrote: > Hi, > > Does anyone can explain me what this loop does and more specificly the > "InStr" function the way it is used below : > > For Each Cel In Rng1 > If Len(Cel) > 0 Then > If InStr(1, TmpX, LCase(Cel) & Chr(171)) = 0 Then > TmpX = TmpX & LCase(Cel) & Chr(171) > n = n + 1: Rng2(n, nCol + 2) = Cel.Value > End If > End If > Next Cel > > Thanks > > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel