morning all,
perhaps not enough coffee yet...
i'm trying to find out if a substring within a cell evaluates to an integer and have not been able to find the correct statement (or group of statements yet). anyone have any ideas?
what i currently have is:
thanks in advance.
regards,
longhair
perhaps not enough coffee yet...
i'm trying to find out if a substring within a cell evaluates to an integer and have not been able to find the correct statement (or group of statements yet). anyone have any ideas?
what i currently have is:
Code:
If Mid(astring, 4, 1) = "-" Then
If Evaluate(Int(Mid(astring, 5, 3))) Then
'action code here
End If
End If
regards,
longhair