Hi,
I have a user form with two combo boxes, the code below is what i used when only had one combo box, but when i use the same code one for each combo box, only one will work, obviously i did change the code to combo box 2 for the second one.
please can anyone give me an idea where i went wrong.
many thanks for reading
Private Sub ComboBox1_Change()
Private Sub UserForm_initialize()
Dim cbtarget As MSForms.ComboBox
Dim rngsource As Range
Set rngsource = Worksheets("drop down lists").Range("a5:a15")
Set cbtarget = Me.ComboBox1
With cbtarget
.List = rngsource.Cells.Value
End With
End Sub
many thanks for reading and hopefully helping.
Bookmarks