ganz kurze Frage: Gibts ne Möglichkeit, folgenden Therm einfacher zu schreiben:
If A = "x" or A = "c" or A = "d" then
beispielsweise so in der Art:If A = "x" or "c" or "d" then
Danke!
If A = "x" or A = "c" or A = "d" then
beispielsweise so in der Art:If A = "x" or "c" or "d" then
Danke!
Dim a As String
a = "c"
If InStr(1, "xcd", a) Then
MsgBox "hallo"
End If