Hi everyone,
I have created a combobox on a worksheet (Sheet1). I would like to initialize with some values when the excel file opens. I use the following code:
in ThisWorkbook. But when I run the code I am getting error "Method or Data member not found", and ComboBox1 is highlighted. I really have ComboxBox1 in Sheet1.Private Sub Workbook_Open() Dim i As Integer Sheet1.ComboBox1.Clear For i = 1 To 4 Sheet1.ComboBox1.AddItem i Next i End Sub
Please, I need your help
Thanks in advance for your help.
Joe
Bookmarks