Alright...this is driving me bonkers.
One workbook(main) builds another(slave). I've added a combo box to the other workbook(slave) and I'm trying to populate it from the Main workbook. I keep getting object errors. "Object does not support this property or method."
This Code:
sets ole and cbox to ''''
If I run the code to populate the combobox1 code from the sheet it resides in things work just fine.
Advice?
Thanks.
Brian
One workbook(main) builds another(slave). I've added a combo box to the other workbook(slave) and I'm trying to populate it from the Main workbook. I keep getting object errors. "Object does not support this property or method."
This Code:
Code:
Dim cbox As MSForms.ComboBox
Dim ole As OLEObject
Set ole = ActiveSheet.OLEObjects("ComboBox1")
Set cbox = ole.Object
sets ole and cbox to ''''
If I run the code to populate the combobox1 code from the sheet it resides in things work just fine.
Advice?
Thanks.
Brian