Hi
exprets
I use this code for multiple comboboxes doesn't show any thing despite of the seems to show in empty four items as in sheet and there is no error .
I have userform contains four comboboxes for each row on userform start combobox 49 .
when slelect the item in combobox49 should populate item in combobox 50,51,52 and so on for the others
but doesn't show any thing in combobox49 when run the userform .
can any body explain me what happens?
exprets
I use this code for multiple comboboxes doesn't show any thing despite of the seems to show in empty four items as in sheet and there is no error .
I have userform contains four comboboxes for each row on userform start combobox 49 .
when slelect the item in combobox49 should populate item in combobox 50,51,52 and so on for the others
but doesn't show any thing in combobox49 when run the userform .
can any body explain me what happens?
VBA Code:
Private Sub UserForm_Initialize()
With Sheets("BRANDS")
With .Range("B2", .Cells(.Rows.Count, "B").End(xlUp))
For i = 49 To 52
Me.Controls("ComboBox" & i).List = .Offset(, i - 1).Value
Me.Controls("ComboBox" & i + 4).List = .Offset(, i - 1).Value
Me.Controls("ComboBox" & i + 8).List = .Offset(, i - 1).Value
Next
End With
End With
End Sub