The UCase function in VBA converts a String into upper case text.

Syntax

Parameter

String (required) – This parameter represents the string that you want to convert to upper case.

Return

This function returns a string after converting the given string into upper case text.

Example 1

Output

VBA UCase Function

Example 2

Output

VBA UCase Function2

Pin It on Pinterest

Share This