07-07-2008, 08:20 AM
Hi All,
I know there must be a shortcut for doing this just can't seem to figure it out. I have a listbox with a large number of names in the form:
Macro
The only options I have for dealing with the user choice is to break it down in cases like this:
Macro
or storing it into variable _i as numbered index.
But my case is very simple: the text of the users choice (e.g. Name2) is assigned to a certain variable (e.g. NameChoice)
I know I could write that out for each case but it seems too brute force - I am sure there is an elegant much shorter way of doing it!
Thanks for any help,
Stuart
I know there must be a shortcut for doing this just can't seem to figure it out. I have a listbox with a large number of names in the form:
Macro
The only options I have for dealing with the user choice is to break it down in cases like this:
Macro
or storing it into variable _i as numbered index.
But my case is very simple: the text of the users choice (e.g. Name2) is assigned to a certain variable (e.g. NameChoice)
I know I could write that out for each case but it seems too brute force - I am sure there is an elegant much shorter way of doing it!
Thanks for any help,
Stuart