Home Privacy Policy Feedback Link to us Site Map Forums

Excel: LCase Function (VBA only)


In Excel, the LCase function converts a string to lower-case.

The syntax for the LCase function is:

LCase( text )

Text is the string that you wish to convert to lower-case.


Applies To:

  • Excel 2007, Excel 2003, Excel XP, Excel 2000

For example:

LCase("Tech on the Net") would return "tech on the net"
LCase("124ABC") would return "124abc"

VBA Code

The LCase function can only be used in VBA code. For example:

Dim LResult As String

LResult = LCase("This is a TEST")

In this example, the variable called LResult would now contain the value "this is a test".