You can try: Option Explicit Sub Unique_ID() Dim Dict_Userid Dim sht, SummarySht Dim R, nRows, uArray SummarySht = "Sheet5" Set Dict_Userid = CreateObject("Scripting.Dictionary") Dict_Userid.RemoveAll '------------------------------------------------------------- ' Load Dictionary Object '------------------------------------------------------------- For sht = 1 To Sheets.Count If (Sheets(sht).Name <> SummarySht) Then nRows = Application.WorksheetFunction.CountA(Sheets(sht).Range("A1:A100000")) For R = 2 To nRows If (Not Dict_Userid.exists(Sheets(sht).Cells(R, "A").Value)) Then Dict_Userid.Add Sheets(sht).Cells(R, "A").Value, Sheets(sht).Name End If Next R End If Next sht '------------------------------------------------------------- ' Write Userid's to Summary Sheet '------------------------------------------------------------- Sheets(SummarySht).Range("A2:A100000").ClearContents uArray = Dict_Userid.keys For R = 0 To UBound(uArray) Sheets(SummarySht).Cells(R + 2, "A").Value = uArray(R) Next R '------------------------------------------------------------- End Sub Paul ----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley -----------------------------------------
________________________________ From: Sundarvelan N <nsund...@gmail.com> To: excel-macros@googlegroups.com Sent: Tue, September 11, 2012 2:14:29 AM Subject: $$Excel-Macros$$ Unique from Multiple sheet Dear Frineds, Please help me to get the unique from Multiple sheets ThanksN.Sundarvelan 9600160150 -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.