📜  excel vba检查字符串是否完全是alpha - VBA代码示例

📅  最后修改于: 2022-03-11 14:51:56.257000             🧑  作者: Mango

代码示例1
'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