pQcuT‖

LgJKC‖UCase Function

vSKnv‖Converts lowercase characters in a string to uppercase.

46E6R‖See also: LCase Function

FVEx2‖Syntax:

PDUSQ‖UCase (Text As String)

GePPP‖Return value:

String

WADQ4‖Parameters:

DeCAh‖ Text: Any string expression that you want to convert.

SEjHR‖Error codes:

5 Invalid procedure call

EFSA4‖Example:


Sub ExampleLUCase
Dim sVar As String
    sVar = "Las Vegas"
    Print LCase(sVar) ' "las vegas"
    Print UCase(sVar) ' "LAS VEGAS"
End Sub