+ Reply to Thread
Results 1 to 3 of 3

"Vba Dictionary with key and sub key (not doubel)"

  1. #1
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    "Vba Dictionary with key and sub key (not doubel)"

    i have data in col A (item) and i want unique keys in col B:I in same row
    and paste result in col k what wrong with my code bellow thankyou
    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,302

    Re: "Vba Dictionary with key and sub key (not doubel)"

    Here is how you would do what you want with a dictionary object:

    Please Login or Register  to view this content.
    But - you could also use Excel's built in "Remove Duplicates" function:

    Please Login or Register  to view this content.
    Last edited by Bernie Deitrick; 02-17-2017 at 05:06 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

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

    Re: "Vba Dictionary with key and sub key (not doubel)"

    very very thankyou sir but i was wrong in data key1 also unique ,now i was add doubel data in no 1,2,3,4,1,4,etc
    but i your coding also for key not unique thankyou

+ 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] problem converting to CreateObject("Scripting.Dictionary") method
    By dschmitt in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-24-2015, 04:19 AM
  2. [SOLVED] VBA "Scripting.Dictionary" Word Occurences under each category
    By manofcheese in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-23-2015, 03:37 PM
  3. Replies: 5
    Last Post: 09-10-2014, 02:12 PM
  4. [SOLVED] CreateObject("scripting.dictionary") Add Item Problem---->Empty Cells
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2014, 05:04 PM
  5. [SOLVED] How to understand and use CreateObject("Scripting.Dictionary")
    By Darthzo in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-03-2013, 07:21 PM
  6. Editing columns through Userform; "Dictionary Editor"
    By wali in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-04-2008, 03:44 PM
  7. Replies: 1
    Last Post: 03-30-2005, 03: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