HI!
I’m trying to populate a combobox control using the following code:
As the list of names in Sheet1 gets longer, n increases (using the COUNTA function), so when the user form initializes, ComboBox1 get filled with the full list of names. This works fine, BUT I get an “Application-defined or object-defined error” if Sheet1 is not active when the code is running. I could use Activate method, but the problem is that I want to hide (visible=false) the worksheets from the end-user and then I get the same error again!
Any ideas how to work around this??
THANKS!!
Bookmarks