Last active
June 5, 2019 13:15
-
-
Save walkergv/5349206 to your computer and use it in GitHub Desktop.
Excel Macros For Making Text In Cells Upper, Lower and Proper Case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Code for Upper Case | |
Sub UpperCase() | |
Dim objCell As Object | |
For Each objCell In Selection | |
objCell.Value = UCase(objCell.Formula) | |
Next | |
End Sub | |
'Code for Lower Case | |
Sub LowerCase() | |
Dim objCell As Object | |
For Each objCell In Selection | |
objCell.Value = LCase(objCell.Formula) | |
Next | |
End Sub | |
'Code for Proper Case | |
Sub ProperCase() | |
Dim objCell As Object | |
For Each objCell In Selection | |
objCell.Value = Application.Proper(objCell.Formula) | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment