jgcapelli
28-01-2011 20:42:03
Senhores, preciso que os valores do combobox não fiquem repetidos, podem me ajudar???
With PlanProdutos1
Do Until IsEmpty(.Cells(i, 18))
If .Cells(i, 13).Value = Me.boxPRODUTO.List(Me.boxPRODUTO.ListIndex) Then
MsgBox .Cells(i, 13).Value
Me.boxLOTE.AddItem .Cells(i, 18).Value
End If
i = i + 1
Loop
End With
With PlanProdutos1
Do Until IsEmpty(.Cells(i, 18))
If .Cells(i, 13).Value = Me.boxPRODUTO.List(Me.boxPRODUTO.ListIndex) Then
MsgBox .Cells(i, 13).Value
Me.boxLOTE.AddItem .Cells(i, 18).Value
End If
i = i + 1
Loop
End With