UCase
Converts all lowercase letters in Str to uppercase letters. All uppercase letters and non-letter characters remain unchanged.
Syntax
UCase(Str)
Str:
A string or expression that can represent a valid text value.
Return Value
Returns a string.
Related Functions
Example
Dim strMixedCase as String
Dim strLowerCase as String
Dim strUpperCase as String
strMixedCase = "AbCdE"
strLowerCase = LCase(strMixedCase) ' returns "abcde"
strUpperCase = UCase(strMixedCase) ' returns "ABCDE"