+ Reply to Thread
Results 1 to 4 of 4

How do i retrieve the items in my scriptiing Dictionary and Assign them to a variable?

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    New york
    MS-Off Ver
    Excel 2003
    Posts
    45

    How do i retrieve the items in my scriptiing Dictionary and Assign them to a variable?

    I have an array that was created I need to only use unique values from the array and assign them to a variable. Below is the code I am using for this at the very end I am having issues assigning the item to the variable(I am new to dictionary in general so this a learning curve I am dealing with). Thank You.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Leith Ross; 01-13-2014 at 12:59 PM. Reason: Added Code Tags

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: How do i retrieve the items in my scriptiing Dictionary and Assign them to a variable?

    Obviously, Join returns a string which is used in the MsgBox
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    New york
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: How do i retrieve the items in my scriptiing Dictionary and Assign them to a variable?

    Thank you Kenneth that seems to work out. I will keep the "Join" in mind for future issues.

  4. #4
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: How do i retrieve the items in my scriptiing Dictionary and Assign them to a variable?

    If you need to sort the data, this thread shows how to do both. http://www.excelforum.com/excel-prog...cal-order.html

+ 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] Adding items to Dictionary object
    By Eduard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2013, 04:39 AM
  2. [SOLVED] retrieve child items from visible pivot items.
    By MarMo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2013, 10:24 AM
  3. [SOLVED] Scripting Dictionary add additional items
    By thisisgerald in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-15-2012, 07:32 AM
  4. Nested dictionary items, how do you access them?
    By treyr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2010, 12:23 PM
  5. looping through items in a dictionary
    By Abe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-08-2006, 05:45 AM

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