+ Reply to Thread
Results 1 to 3 of 3

Problem with VBA code, not removing duplicates.

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Vermont
    MS-Off Ver
    Excel 2007
    Posts
    19

    Problem with VBA code, not removing duplicates.

    I have worked with the user daffodil and months ago he created a code for me to use and it has worked perfectly.
    It makes a master list of products form multiple accounts and puts them into a single column so I can work pricing form there. However, the last 4 weeks it has seemed to stop removing the duplicates...I have looked over the code and copy and pasted directly form working versions but still no luck.

    Any help would be appreciated. I have included the file I am currently working on as well.AUG-NOV 2015 Savings Comparisons.xlsm

    Any help is greatly appreciated!

  2. #2
    Registered User
    Join Date
    11-18-2015
    Location
    Madrid
    MS-Off Ver
    2016
    Posts
    95

    Re: Problem with VBA code, not removing duplicates.

    Hi! I just included a button to call the macro "UpdateList", and it looks like it works OK. There are just a couple of strange results on top, but I do not know the details of the code. I attach the file.
    Attached Files Attached Files
    excelbat.com: free Excel tools, macros...

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Problem with VBA code, not removing duplicates.

    I edited a few lines in there, mostly cosmetic but a few increased accuracy adjustments.

    Clearing B4:B15000 changed to Clear B:D
    Static range targeting for sorting and formatting adjusted to dynamic Last Row

    Please Login or Register  to view this content.
    Lately my personal study has taken me into Dictionaries, which might be an option if this procedure seems to take a long time.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ 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. Removing duplicates problem - Excel 2013
    By needexcelassist in forum Excel General
    Replies: 6
    Last Post: 11-06-2015, 05:43 AM
  2. Problem with VBA for removing duplicates
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2014, 03:24 AM
  3. [SOLVED] Need help with syntax with vba code for removing duplicates from closed file and copy data
    By dj_mix in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2013, 11:49 AM
  4. [SOLVED] Problem with removing duplicates
    By emil9216 in forum Excel General
    Replies: 2
    Last Post: 08-20-2012, 07:16 AM
  5. [SOLVED] Fixing Removing Duplicates Code Syntax
    By Panda2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2012, 07:18 PM
  6. Replies: 6
    Last Post: 03-29-2012, 12:16 AM
  7. Excel 2007 : Problem with removing duplicates
    By emil9216 in forum Excel General
    Replies: 5
    Last Post: 02-16-2012, 01:41 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