17.05.2017, 10:49
Hallo,
ich habe in einer UF eine Combobox die ab E3 die Zeile 3 "einliest"
der code:
Diese Combobox möchte durch ein 5 Optionsbutton E3 bis I3 ersetzen
ich habe in einer UF eine Combobox die ab E3 die Zeile 3 "einliest"
der code:
Code:
Private Sub LBArt_Change()
TBAnz.Value = ""
If LBDat.Value <> "" Then
For aBas = 1 To UBound(arrBas(), 1)
If CStr(arrBas(aBas, 1)) = LBDat.Value Then
For bBas = 1 To UBound(arrBas(), 2)
If CStr(arrBas(1, bBas)) = CStr(LBArt.Value) Then
TBAnz.Value = arrBas(aBas, bBas)
Exit For
End If
Next bBas
End If
If TBAnz.Value <> "" Then Exit For
Next aBas
End If