hello,
i've an example 4 combobox will linked to 4 cells, for example : combobox1 linked with cell B6 and so on.
what i want is
-combobox1 is linked with B6 text value
-combobox2 with B7 text value
-combobox3 with B8 text value
-combobox4 with B9 text value
pls help me, thanks before
i've an example 4 combobox will linked to 4 cells, for example : combobox1 linked with cell B6 and so on.
i know my code is funny, and yes its only add the last value (9) into evey combobox from 1 - 4.Sub tryout()
Dim i As Integer, j As Integer
Dim ws As Worksheet
Set ws = ActiveSheet
For i = 1 To 4
For j = 6 To 9
With ws.OLEObjects("Combobox" & i)
.Value = range("B" & j).Value
End With
Next
Next
End Sub
what i want is
-combobox1 is linked with B6 text value
-combobox2 with B7 text value
-combobox3 with B8 text value
-combobox4 with B9 text value
pls help me, thanks before