+ Reply to Thread
Results 1 to 7 of 7

Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

  1. #1
    Registered User
    Join Date
    04-12-2024
    Location
    Toronto, Ontario
    MS-Off Ver
    365
    Posts
    2

    Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Hi All,

    I am very new to VBA coding and try my hand when I get a chance.

    Another user on here explained a VBA code to run highlighting duplicates on all sheets in an excel workbook

    The code was as follows:
    Please Login or Register  to view this content.
    Would it be possible for someone on here to explain how they go some of the lines they did? Any help or guidance is really appreciated!!

    Thank you
    Last edited by AliGW; 04-15-2024 at 08:28 AM. Reason: Code tags added - please review the forum guidelines.

  2. #2
    Forum Contributor
    Join Date
    09-18-2023
    Location
    Geogia, USA
    MS-Off Ver
    365
    Posts
    100

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Does this help at all?

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,285

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Perhab
    Please Login or Register  to view this content.
    Last edited by daboho; 04-13-2024 at 10:53 PM.

  4. #4
    Registered User
    Join Date
    04-12-2024
    Location
    Toronto, Ontario
    MS-Off Ver
    365
    Posts
    2

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Thank you!!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Quote Originally Posted by Sarah47 View Post
    I am very new to VBA coding and try my hand when I get a chance.
    By comparing each pair of sheets, if the comparison range is large enough, this will slow down processing speed.

    Working with duplicate data, in VBA code, there is an object called "dictionary", which helps in searching for and collecting unique values quickly.

    Because you have shown interest in VBA, delve deeper into researching "dictionary" for this problem. If you encounter difficulties, come back and we'll assist you.
    Quang PT

  7. #7
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,285

    Re: Help Explaining VBA Macro - Highlighting Duplicates Multiple Sheets

    Here is combine collection and dictionary, untest
    Please Login or Register  to view this content.
    Last edited by daboho; 04-16-2024 at 10:06 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Highlighting duplicates based on multiple criteria
    By lbrannon in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-26-2021, 10:13 AM
  2. Highlighting duplicates across 8 work sheets
    By follow40 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-31-2018, 03:26 PM
  3. [SOLVED] VBA macro for highlighting duplicates
    By bizzarofen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2017, 01:46 AM
  4. Highlighting duplicates across sheets
    By msmiss in forum Excel General
    Replies: 1
    Last Post: 04-14-2015, 09:35 PM
  5. Highlighting Duplicates across multiple worksheets
    By washua in forum Excel General
    Replies: 4
    Last Post: 01-18-2012, 07:05 AM
  6. Need help with this macro on Highlighting Duplicates
    By damilaredavids in forum Excel General
    Replies: 2
    Last Post: 12-31-2011, 09:28 PM
  7. Macro to sum duplicates from multiple sheets
    By jarious87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2011, 01:06 PM

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