Ich möchte in meinem Code prüfen, ob ein String eine Zahl ist.
Wie geht das?
Mit isnumber bin ich nicht weitergekommen.
Gruss, Peter
Sub test()
If IsNumeric(ActiveCell) Then
MsgBox "Zahl"
Else
MsgBox "keine Zahl"
End If
End Sub
Gruß Matthias