Hallo
Ich bekomme den Fehler: Type mismatch (Error 13) wenn ich hier:
Private Sub Form_Load()
MsgBox ("hallo")
a = InputBox("Zahl", "Zahl eingeben")
If (a = 1) Then
MsgBox ("1")
Else
If (a = 2) Then
MsgBox ("2")
Else
MsgBox ("weder 1 noch 2")
End If
End If
End Sub
bei der Input Box gar nichts hinein schreibe und das fettgedruckte wird gelb angestrichen ich habe das Programm seit heute und naja die Hilfe sagt mir auch nicht viel...