Public Function MaxAsc( _
ByVal vString As Variant _
) As Variant MaxAsc("ABCDCBA") = 68
MaxAsc("123") = 51
MaxAsc(123) = 51See also: MinAsc FunctionvString: String containing the characters whose ASCII values are examined to determine the maximum. Function returns Null if vString is Null or cannot be fixed up to a String.
Function returns Null if vString is an empty string (one with no characters whose maximum ASCII value could be determined).
Note: Function uses the ASCII value of characters to determine if they match, which is in effect the same as using Binary comparisons.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.