SnakeCharmer
Technical User
I have the following code to change all cells on a worksheet to uppercase:
******
Sub MakeUppercase()
For Each cell In ActiveSheet.UsedRange
If cell.HasFormula = False Then
cell.Value = UCase(cell.Value)
End If
Next cell
End Sub
******
I can change the UCase to an LCase to convert to lowercase, but how can I convert to title case?
Cheers!
******
Sub MakeUppercase()
For Each cell In ActiveSheet.UsedRange
If cell.HasFormula = False Then
cell.Value = UCase(cell.Value)
End If
Next cell
End Sub
******
I can change the UCase to an LCase to convert to lowercase, but how can I convert to title case?
Cheers!