I have created a toolbar with two combo boxes that I need to populate from an excel sheet.
<code>
Dim myList as CommandBarComboBox 'I tried also just ComboBox
Set myList = ActiveDocument.CommandBars("StatusUpdate").Controls("Task")
....
....
</code>
I get a type mismatch error on the set line.
How should I do it please?
______________________________________
Do not expect the truth from a woman.
Pretending is part of her charm.
___________________________________
Eman_2005
Technical Communicator
<code>
Dim myList as CommandBarComboBox 'I tried also just ComboBox
Set myList = ActiveDocument.CommandBars("StatusUpdate").Controls("Task")
....
....
</code>
I get a type mismatch error on the set line.
How should I do it please?
______________________________________
Do not expect the truth from a woman.
Pretending is part of her charm.
___________________________________
Eman_2005
Technical Communicator