Hi All,
I am using the following code to populate two ComboBoxs in my Userform (called WSSearch).
When I run this Userform, I get a "Run-time error '1004': Application-defined or object-defined error"
I am stuck, can anyone please help?
Cheers, WT
I am using the following code to populate two ComboBoxs in my Userform (called WSSearch).
Code:
Private Sub UserForm_Initialize()
Me.ComboBox1.List = Sheets("Wholesale Members").Range("A2", Range("A" & Rows.Count).End(xlUp)).Value
Me.ComboBox2.List = Sheets("Wholesale Members").Range("B2", Range("B" & Rows.Count).End(xlUp)).Value
End Sub
When I run this Userform, I get a "Run-time error '1004': Application-defined or object-defined error"
I am stuck, can anyone please help?
Cheers, WT