When I try to run
I get the error message Compile error: User-defined type not defined.Code:Dim combo As CommandBarComboBox
I found the code online.
There is a comment mentioning that the Dim statement requires a reference to the Microsoft Object Library.
VBA - Tools- References shows Object Library 14 as checked.
Any help is greatly appreciated.
Thanks