VBA LCase function

LCase Function Description

The VBA LCase function converts a string to lower-case. All upper-case letters are converted to lower case.

Use UCase to convert a string to upper-case letters instead.

Syntax

The syntax for the LCase function in VBA is:

1
LCase( text )

Parameters

text
The text string that you wish to convert to lower-case letters.

Example usage

The LCase function can only be used in VBA code. Let’s look at some VBA LCase function examples:

1
2
3
4
5
LCase "Hello There!"
'Result: "hello there!"
 
LCase "WOW"
'Result: "wow"