Turn on Caps Lock or use event code to change to UPPER case as you enter text.
This code operates on all sheets in the workbook.
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub
This is event code. Right-click on the Excel logo left of "File" on the menubar
or left end of Title Bar if window is not maximized.
Select "View Code". Copy/paste the code into that Thisworkbook module.
*******************************
To operate on just one worksheet use this code.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub
Right-click on the sheet tab and "View Code". Copy/paste into that Sheet
module.
Gord Dibben MS Excel MVP