Dim childAgeAsInt As Integer
If Integer.TryParse(childAge, childAgeAsInt) Then
' childAge successfully parsed as Integer
Else
' childAge is not an Integer
End I
Quelle: https://stackoverflow.com/questions/13980538/check-if-a-string-variable-has-an-integer-value