Tag zusammen,
hab nen Problem mit ner Schleife. Verstehe das ganze gar nicht.
Hat jemand ne andere Lösungsidee?
Mögliche Belegungen:
OptionTyp: C,P
Exotyp: ki, RKO, RKI, KO
KursKz: -1 oder 1
Select Case OptionTyp
Case Is = "C"
If Exotyp = "ki" And KursKZ = "-1" _
Then b1 = "D" _
Else: b1 = "U"
End If
If Exotyp = "RKO" And KursKZ = "-1" _
Then b1 = "D" _
Else: b1 = "U"
End If
If Exotyp = "RKI" And KursKZ = "-1" _
Then b1 = "U" _
Else: b1 = "D"
End If
If Exotyp = "ko" And KursKZ = (-1) _
Then b1 = "U" _
Else: b1 = "D"
End If
Case Is = "P"
If Exotyp = "ki" And KursKZ = "-1" _
Then b1 = "U" _
Else: b1 = "D"
End If
If Exotyp = "RKO" And KursKZ = "-1" _
Then b1 = "U" _
Else: b1 = "D"
End If
If Exotyp = "di" And KursKZ = "-1" _
Then b1 = "D" _
Else: b1 = "U"
End If
If Exotyp = "DO" And KursKZ = "-1" _
Then b1 = "D" _
Else: b1 = "U"
End If
End Select
vielen Dank im Vorraus!
RWErene81 |