excel vba check if string entirely alpha

The solution for “excel vba check if string entirely alpha” can be found here. The following code will assist you in solving the problem.

‘VBA function to check if string is ENTIRELY alpha:

Function IsAlpha(s) As Boolean
IsAlpha = Len(s) And Not s Like “*[!a-zA-Z]*”
End Function

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts