Copy it to a Sheet Module for the worksheet you want it to apply to in VBA
not a Code Module
[pre]
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("C$2:C$100")) Is Nothing Then Exit Sub
Target = UCase(Target)
End Sub
Don't forget to turn off events first, so that you don't cause the Event macro to run over and over (since it keeps changing the worksheet, macro keeps getting called)
[pre]
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("C$2:C$100")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target = UCase(Target)
Application.EnableEvents = True
End Sub