Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 21st, 2008, 04:02 PM
Registered User
 
Join Date: May 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access nested collection with unique Key

Hi vba excel gurus,

i am unable to find syntax for accessing nested collection. I am adding the collection as follows

CurrentItem.Add wsSheet.Cells(rowTitle, clmMAT).Value, "MAT" 'Adding Temp Collection Values into Function Collection GetDetailUpdateData.Add CurrentItem 'adding collection into the collection.

how i can access the collection. ??
i am able to copy the collection into col but unable to access indivisual items
dim col as new collection
col.Item(Item("MAT")) ??

Plz help

Ramzan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unique Key by concatenating military time and date code_lover C++ Programming 0 August 8th, 2008 06:09 AM
access of Items[""] collection in Httphandler anujrathi ASP.NET 2.0 Professional 0 November 15th, 2007 08:02 AM
Does "key" imply "unique"? shumba XML 1 April 3rd, 2006 04:17 PM
unique primary key field in CR kelvinklein82 BOOK: Professional Crystal Reports for VS.NET 0 December 29th, 2004 11:52 AM
Updating Unique Identifier foreign key to NULL jraymond VB Databases Basics 0 June 16th, 2003 01:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.