Eric Livesay
Board Regular
- Joined
- Feb 13, 2008
- Messages
- 127
How can I format a cell to automatically change any entered text to all capital letters?
Thanks, Eric.
Thanks, Eric.
OK, 3rd time lucky. This code tests whether the target cell contains a formula. It also tests that only one cell is selected.
Code:Private Sub Worksheet_Change(ByVal Target As Range) On Error GoTo 0 If Target.HasFormula = False And Target.Count = 1 Then Target.Value = UCase(Target.Value) End Sub