ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Morning,
I see this code a few times on my worksheets but dont know what its actually doing,please can you advise.
I see this code a few times on my worksheets but dont know what its actually doing,please can you advise.
Code:
Private Sub Worksheet_Change(ByVal Target As Range) With Target
If .Column = 1 Then Exit Sub
If .Column = 7 Then Exit Sub
If .Count = 1 And Not .HasFormula Then
Application.EnableEvents = False
.Value = UCase(.Value)
Application.EnableEvents = True
End If
End With
End Sub