Ugur Tuncer
Blog Archive
▼
2008
(12)
▼
June
(12)
VBA Code to convert Capital Letters to Small Lette...
VBA Code for Self Destruct in Excel
VBA Code to Disable Cut, Copy and Paste Functions ...
VBA Code to convert small letters to upper case in...
Most Famous Quotes
Animal Farm (George Orwell) Character List
The Catcher in the Rye - J.D. Salinger
Vote for Nobody
Creative Match Pictures
Luv is all around
Best Movie Quotes
Code to Delete Blank Rows and Columns in Excel
►
2007
(20)
►
November
(2)
►
October
(18)
About
View my complete profile
Wednesday, June 18, 2008
VBA Code to convert small letters to upper case in Excel
Sub ConvertCase()
Dim Rng As Range
For Each Rng In Selection.Cells
If Rng.HasFormula = False Then
'Use this line for UpperCase text; change UCase to LCase for LowerCase text.
Rng.Value = UCase(Rng.Value)
End If
Next Rng
End Sub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment