+ Reply to Thread
Results 1 to 5 of 5

Preventing Duplicates

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    9

    Preventing Duplicates

    Hi,

    Is there anyway to stop the below code producing duplicates?

    Please Login or Register  to view this content.
    Any help greatly appreciated

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Preventing Duplicates

    Hi,

    hard to tell without any example data, could you provide some?

    Regards

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Preventing Duplicates

    Breakdown_Excel.xlsm

    Hi tehneXus, thanks for the reply, here is some sample data, if you run the module you will see what I mean when duplicate rows appear due to products repeating during the breakout. Thanks

  4. #4
    Registered User
    Join Date
    04-11-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Preventing Duplicates

    There is a stray end if in that attachment. My apologies. You will spot it when you try to run. Thanks

  5. #5
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Preventing Duplicates

    Hi,

    OK, you are separating the semicolon separated elements into records, looks fine for me. How should the table look after running the macro?

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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