-
Hi !!!
I need to pass a combo as a parameter... but not the regular combo. I need to pass the combo that is in Microsoft Forms 2.0 Object Library.
The problem is that the class name is ComboBox. Sounds familiar? It´s the same of the regular combo. I´m getting a Type Mismatch.
Any ideas???
Please???
-
I'm sorry I don't know exactly how to do this, but...
there is a way for latebound typing. You will get to specify which lib and version to use with a sort of as New(Yadda 1.0 ComboThingie).
I'm sorry I don't remember how to do it, but I do know it is possible. Hopefully someone will remember.
When you do this, there are certain risks, and you will notice that VS won't fix the case of mybox to myBox.
-
just a guess. try As Control isntead of As ComboBox
-
try this:
cbb as MSForms.combobox
-
Thanks !!!
MSForms.combobox worked.