📅  最后修改于: 2022-03-11 14:51:54.188000             🧑  作者: Mango
'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