UCase$()

Syntax

UCase$(Source$)

Remarks

Returns a string in which all letters of Source$ have been converted to uppercase.

Example

This example displays an InputBox$ dialog box that prompts the user to type an acronym. When the user chooses OK, the text is stored in the variable acronym$, which is then converted to uppercase.


acronym$ = InputBox$("Please enter an acronym.")
acronym$ = UCase$(acronym$)

See Also

ChangeCase, LCase$()