S Stefan Hoffmann Dec 17, 2008 #2 hi, how can i check if an value is integer or string? Click to expand... Public Function IsInteger(AValue As Variant) As Boolean On Local Error GoTo LocalError Dim dummy As Integer Dummy = CInt(AValue) IsInteger = True Exit Function LocalError: IsInteger = False End Function mfG --> stefan <--
hi, how can i check if an value is integer or string? Click to expand... Public Function IsInteger(AValue As Variant) As Boolean On Local Error GoTo LocalError Dim dummy As Integer Dummy = CInt(AValue) IsInteger = True Exit Function LocalError: IsInteger = False End Function mfG --> stefan <--