LCase Function
This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.
Returns a String that has been converted to lowercase.
Syntax
LCase(string)
The required string argument is any valid string expression. If string contains Null, Null is returned.
Remarks
Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.
Example
This example uses the LCase function to return a lowercase version of a string.
Dim UpperCase, LowerCase
Uppercase = "Hello World 1234" ' String to convert.
Lowercase = Lcase(UpperCase) ' Returns "hello world 1234".