AW: ComboBox
06.06.2008 10:47:19
denis
Also ich hab das jetzt probiert, aber ich komme nicht ganz klar damit.
Ich will ,wenn ich den namen auswähle, das in der nächten C.Box die firma erscheint..
?
'Name = Firma
anzahl = Worksheets("Lists").Range("C1000").End(xlUp).Row
For x = 3 To anzahl
resp_Nlist = Worksheets("Lists").Cells(x, 3).Value
resp_N = New_Task.ComboBox5.Text 'Responsible Name
resp = New_Task.ComboBox6.Text 'Responsible Company
ComboBox5.ListIndex = ComboBox6.ListIndex
MsgBox resp_Nlist & resp_N
If resp_N = resp_Nlist Then
resp_C = Worksheets("Lists").Cells(x, 5).Value
MsgBox resp_C
x = anzahl
End If
Next