Convert to Upper Case
Sub
convertUpperCase()
Dim Rng As Range
For Each Rng In
Selection
If
Application.WorksheetFunction.IsText(Rng) Then
Rng.Value =
UCase(Rng)
End If
Next
End Sub
: Convert to Lower
Case
Sub
convertLowerCase()
Dim Rng As Range
For Each Rng In
Selection
If
Application.WorksheetFunction.IsText(Rng) Then
Rng.Value= LCase(Rng)
End If
Next
End Sub
: Convert to Proper
Case
Sub
convertProperCase()
Dim Rng As Range
For Each Rng In
Selection
If
WorksheetFunction.IsText(Rng) Then
Rng.Value =
WorksheetFunction.Proper(Rng.Value)
End If
Next
End Sub
No comments:
Post a Comment
THANKS FOR YOUR SUPPORT