Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a ComboBox (txtSignature) on a userform that gets it's
information from a dynamic list (DealerName). If I enter a name that is not in DealerName, I get an error message "Run-time error '381': Could not get the List property. Invalid property array index." Instead of this message, I would like to give the user a message allowing three options: 1) add the new name to the dynamic list and enter the new name onto the form as if the name were there all along; 2) add as if it were in the list, but don't add it to the list; 3) cancel and do nothing but clear the user form. Using vbaMsgBoxYesNoCancel, I just don't know how to code it where above option 1 = yes, 2 = no, 3 = cancel in the MsgBox Does anybody have the code for this? Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic top 20 list | Excel Discussion (Misc queries) | |||
Dynamic List | Excel Worksheet Functions | |||
Changing named Validation list to Dynamic list. | Excel Discussion (Misc queries) | |||
add to a dynamic list | Excel Programming | |||
Dynamic list box | Excel Programming |