Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Property Lists
Is there a property list type in vba? I have codes in a table that I would like to match to a description. ie: If column A contained the type code and I wanted the description in column B Descriptions = ["1C": "Designer Ace C", "1D": "Designer Ace D"...] Range("B2").Value = Descriptions[Range("A2").Value] -- fazstp ------------------------------------------------------------------------ fazstp's Profile: http://www.excelforum.com/member.php...o&userid=30574 View this thread: http://www.excelforum.com/showthread...hreadid=547677 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Property Lists
Try the dictionary from the scripting runtime library.
Tim "fazstp" wrote in message ... Is there a property list type in vba? I have codes in a table that I would like to match to a description. ie: If column A contained the type code and I wanted the description in column B Descriptions = ["1C": "Designer Ace C", "1D": "Designer Ace D"...] Range("B2").Value = Descriptions[Range("A2").Value] -- fazstp ------------------------------------------------------------------------ fazstp's Profile: http://www.excelforum.com/member.php...o&userid=30574 View this thread: http://www.excelforum.com/showthread...hreadid=547677 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Property Lists
Hmmm, 'scuse my newbieness but do you mean the object browser in excel's visual basic editor? I've decided to just use a vlookup in a table containing all codes and descriptions but I'm still interested in whether or not there is an equivalent to a property list. The nearest I can see might be to create a class, I just thought maybe I was missing something. -- fazstp ------------------------------------------------------------------------ fazstp's Profile: http://www.excelforum.com/member.php...o&userid=30574 View this thread: http://www.excelforum.com/showthread...hreadid=547677 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Multiple lists with repeated values for dependet drop down lists | Excel Worksheet Functions | |||
Runtime Error 380 – Could not set the list property. Invalid property value | Excel Programming | |||
Value Property vs Text property | Excel Programming | |||
Runtime error 380: Could not set the List property. invalid property value of listbox | Excel Programming | |||
Is there a Filename property in PrintOut property | Excel Programming |