DCat1223
9 years agoFrequent Contributor
Assign a variable from a ComboBox in a UserForm
Hi... I am working with a UserForm in a Keyword test. The Keyword test first opens my userform, which has two dropdown boxes.
- Dropdown 1 is XferType, which has 3 different selections.
- Dropdown 2 is Department which has about 25 or so different selections.
Based on what the user selects in the dropdown boxes, I am trying to assign those values to variables in my Keyword test using the Set Variable statement. The variables are TransferType and Dept.
Then I have a simple message appear showing the value of the TransferType variable to verify that the value assigned correctly. I keep getting an Error - Type mismatch.
I have attached a screenshot showing what I have going on. Does anybody see what I am missing here?
Thanks for your time.
Dave.
That was it. Thank you, Joseph!