+ Reply to Thread
Results 1 to 7 of 7

Remove duplicates in whole sheet

  1. #1
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Remove duplicates in whole sheet

    My Macro:

    Please Login or Register  to view this content.
    Works fine for the activesheet, how do i change the code above so it will work through ALL worksheets with some exceptions (Being Start, Template, Brokers and Graphs)?

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Remove duplicates in whole sheet

    Hi, nickmax1,

    maybe proceed like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Last edited by HaHoBe; 08-29-2012 at 07:15 AM. Reason: line number for start of range corrected

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Remove duplicates in whole sheet

    Try this
    Please Login or Register  to view this content.
    Last edited by arlu1201; 08-29-2012 at 07:30 AM.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Remove duplicates in whole sheet

    spot on thanks!!

    Arlette i get a next without For error with your code?
    Last edited by nickmax1; 08-29-2012 at 07:18 AM.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Remove duplicates in whole sheet

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  6. #6
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Remove duplicates in whole sheet

    Quote Originally Posted by nickmax1 View Post
    spot on thanks!!

    Arlette i get a next without For error with your code?
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Remove duplicates in whole sheet

    Thanks Patel. I didnt realise i missed it. I edited my code as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1