How to use uppercase in an additional column?
I am trying to add one more column to my macro. So far I have this:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
If Not Intersect(Range("j2:o1000,r2:ab1000"), Target) Is Nothing Then
Application.ScreenUpdating = False
Application.EnableEvents = False
For Each rng In Intersect(Range("j2:o1000,r2:ab1000"), Target)
rng.Value = UCase(rng.Value)
Next rng
Application.EnableEvents = True
Application.ScreenUpdating = True
End If
End Sub
It works great, Capitalizing anything in the J2:O1000 and R2:ab1000. but now I want to add E3:e1000 as well. How do i do this?