Is it possible to set a variable as the value of a combobox?
Specifically, I would just to like to do something like this:
Where X is the value of a combobox selection made previously on the same userform.
Of course, this doesn't work, so any tips would be greatly appreciated!
Specifically, I would just to like to do something like this:
Code:
Set X = Me.ComboBox1.Value
Set ws = ThisWorkbook.Sheets(X)
Where X is the value of a combobox selection made previously on the same userform.
Of course, this doesn't work, so any tips would be greatly appreciated!