ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,738
- Office Version
- 2007
- Platform
- Windows
Hi,
I have the code shown below which changes small case to upper case.
The range G13:O51 pretty much controls the whole sheet.
Can you advise the edit should i require the range L13:L18 & G21:G23 to not be included & stay as small case
I have the code shown below which changes small case to upper case.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)If Target.Cells.Count > 1 Or Target.HasFormula Then Exit Sub
On Error Resume Next
If Not Intersect(Target, Range("G13:O51")) Is Nothing Then
Application.EnableEvents = False
Target = UCase(Target)
Application.EnableEvents = True
End If
On Error GoTo 0
End Sub
The range G13:O51 pretty much controls the whole sheet.
Can you advise the edit should i require the range L13:L18 & G21:G23 to not be included & stay as small case