associative arrays

M

Matthew Herbert

Hi

Is it possible to use Associative arrays in vba?

If possible, I would be glad if someone could show me how.

Thanks in advance

*** Sent via Developersdexhttp://www.developersdex.com***

Kalle,

I can't say that I'm familiar with "associative arrays" (but this may
simply be a diction issue); however, a quick Internet scan leads me to
beleive that each element has a value and a key. If this is the case,
then look into using a Collection or Dictionary object. (For a
collection, this is assuming that you will know what the key is
though. Also, a Collection won't let you add a duplicate key).

There are some good discussion points in the following thread:
http://groups.google.com/group/micr...1f6?lnk=gst&q=collection+key#2a4688dd147e61f6

Best,

Matthew Herbert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top