PC Review


Reply
Thread Tools Rate Thread

associative arrays

 
 
kalle
Guest
Posts: n/a
 
      23rd Jul 2009


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 Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Matthew Herbert
Guest
Posts: n/a
 
      23rd Jul 2009
On Jul 23, 1:46*pm, kalle <ka...@yahoo.com> wrote:
> 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/micro...4688dd147e61f6

Best,

Matthew Herbert
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Associative arrays in VBA? Piotr Lipski Microsoft Excel Programming 2 27th Jun 2006 05:03 PM
Associative Array Joe Rigley Microsoft ASP .NET 2 28th Jun 2005 07:11 PM
associative array Matthias Heise Microsoft C# .NET 3 18th Apr 2005 03:15 PM
Associative array in C# FrzzMan[at]vnOCzone.com Microsoft C# .NET 3 25th Apr 2004 01:22 PM
associative arrays is c# Microsoft C# .NET 1 26th Mar 2004 08:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 PM.