ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,738
- Office Version
- 2007
- Platform
- Windows
The codes are as follows.
And also
Thank You
Code:
Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False
If Not Application.Intersect(Target, Range("E6,F6,G6,H6,I6,J6,K6")) Is Nothing Then
Target(1).Value = UCase(Target(1).Value)
End If
Application.EnableEvents = True
End Sub
And also
Code:
Private Sub Worksheet_Change(ByVal Target As Range)If Intersect(Target, Range("P6:U6, P7")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target.Value = UCase(Target.Value)
Application.EnableEvents = True
End Sub
Thank You