VBA Put text in lower case

Опубликовано: 20 Октябрь 2024
на канале: Simplified Excellence
30
0

Transform any text to a lower case text.

Code:
Sub text_lower_case()

Dim myText As String
Dim myText_lowercase As String

'set text
myText = "An EXample"

'transform text
myText_lowercase = LCase(myText)

'message
MsgBox ("My text was: " & myText & ", and became this: " & myText_lowercase)

End Sub

-------------------------------
NEED HELP?
-------------------------------
Leave a comment with your questions, issues or projetcs and I will try to answer with a video.

-------------------------------
THANK YOU
-------------------------------
For watching my videos,
Your shares
And your comments!