This stuff should work for integers -- off the top of my head (haven't tried it out though):
VB Code:
Private Function IsNumeric(ByVal argData As String) As Boolean
Dim chrCtr As Long ' loop counter
Dim curChr As String ' current character
If Len(argData) = 0 Then Exit Function
' Run through the passed-in argument.
For chrCtr = 1 To Len(argData)
Let curChr = Mid$(chrCtr, argData, 1) ' get a character
If curChr < "0" Or curChr > "9" Then Exit Function ' << BOOMER! not numeric
Next chrCtr
Let IsNumeric = True ' set retval (return value)
End Function