To convert a string to upper case, you use the UCase$ function. The UCase$ Function uses the following syntax
UCase$(String)
The following code converts the string contained in sString to uppercase, and puts it into a textbox
Dim sString As String
sString = "this is In Lower Case"
Text1.Text = UCase$(sNum)
To convert a string to lower case, you use the LCase$ function. The LCase$ Function uses the following syntax
LCase$(String)
The following code converts the string contained in sString to lowercase, and puts it into a textbox
Dim sString As String
sString = "this is In UPPERCASE"
Text1.Text = LCase$(sString)
Comments