Ok, here is the deal.
User picks up to item 4 items form an iterative InputBox.
He may actually pick less than 4.
I store choices in OptVal(4).
Then I access a mainframe data base and based on choices resolve user choices.
Result would be to paste to an Excel cell the returned value from the mainframe data base.
Issue: In OptVal(i) I have the different values the user entered (the name of the data he/she needs) but when I load in a variable WITH THE SAME NAME AS THE CUSTOMER CHOICE VBA will not have that variable with that data but only the original choice from the user.
Bottom line, I need a way to use variable variable names.
Hope this is clear. (But I doubt it)
User picks up to item 4 items form an iterative InputBox.
He may actually pick less than 4.
I store choices in OptVal(4).
Then I access a mainframe data base and based on choices resolve user choices.
Result would be to paste to an Excel cell the returned value from the mainframe data base.
Issue: In OptVal(i) I have the different values the user entered (the name of the data he/she needs) but when I load in a variable WITH THE SAME NAME AS THE CUSTOMER CHOICE VBA will not have that variable with that data but only the original choice from the user.
Bottom line, I need a way to use variable variable names.
Hope this is clear. (But I doubt it)