Answers for "check if text is in string vba"

VBA
6

excel vba check if a string only contains letters

'VBA function to test if a string contains only letters:

Function IsAlpha(s) As Boolean
    IsAlpha = Len(s) And Not s Like "*[!a-zA-Z]*"
End Function
Posted by: Guest on August-23-2020

Code answers related to "check if text is in string vba"

Code answers related to "VBA"

Browse Popular Code Answers by Language