+ Reply to Thread
Results 1 to 3 of 3

Nested dictionary items, how do you access them?

  1. #1
    Registered User
    Join Date
    02-16-2010
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    23

    Nested dictionary items, how do you access them?

    I have just learned about dictionarys and they seem great, but I cannot find a way to directly reference a nested dictionary element. The collection object can be referenced to any level via a reference like MyCol.item(1).item(1).item(1) But nothing i try seems to be able to do the same with a dictionary object. Does anyone know if this just cannot be done? See my test code below for all the different types of references I tried and the errors they produced. Thanks for any information you can offer.

    Please Login or Register  to view this content.
    Last edited by treyr; 04-15-2010 at 12:26 PM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Nested dictionary items, how do you access them?

    You have the items and keys back to front - for example:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    02-16-2010
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Nested dictionary items, how do you access them?

    Wow, i feel silly. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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