Hello,
I am trying to write a simple add item query to a combo box. Below is my code:
With Sheet1.ComboBox1
.AddItem "Paris"
But I keep getting a Compile error: Method or data member not found.
I suspect it's something wrong with the ComboBox1 "code function". Usually when I start typing the code Sheet1. then a list of all availabile "functions" will pop up in a list, but when I type ComboBox1, this "function" is not available through the list.
Does anyone know why? Thank you for your help.
Enowapi
I am trying to write a simple add item query to a combo box. Below is my code:
With Sheet1.ComboBox1
.AddItem "Paris"
But I keep getting a Compile error: Method or data member not found.
I suspect it's something wrong with the ComboBox1 "code function". Usually when I start typing the code Sheet1. then a list of all availabile "functions" will pop up in a list, but when I type ComboBox1, this "function" is not available through the list.
Does anyone know why? Thank you for your help.
Enowapi