VBA LCASE Function

HomeVBA Functions LIST (Category Wise)How to use the VBA LCASE Function (Syntax + Example)

What is VBA LCASE Function

how to use it

To use VBA's LCASE function you need to understand its syntax and arguments:

Syntax

LCase(String)

Arguments

  • String: The string value which you want to convert into lower case.

Example to use LCASE Function in VBA

To practically understand how to use VBA LCASE function, you need to go through the below example where we have written a vba code by using it:

Sub example_LCASE()
Range("B1").Value = LCase(Range("A1"))    
End Sub

In the above code, we have used the LACSE to convert the string which we have in the cell A1 into a lower case string where all the letters are as small letters.

Notes

Below are some important points which you need to take care while using LCASE function in VBA.

  • LCASE doesn’t make any changes in punctuation and numbers.

Related Functions

About the Author

puneet one point one

Puneet is using Excel since his college days. He helped thousands of people to understand the power of the spreadsheets and learn Microsoft Excel. You can find him online, tweeting about Excel, on a running track, or sometimes hiking up a mountain.