Is there a way for me to test whether a UDF string parameter contains only characters from a predefined character set without having to loop through each character?
How can I test whether Code contains only characters in CharSet?Function MyFun(Code As String) As Double Const CharSet As String = "ANP*-$#" . . .