J
John
I have the attached that I wish to Capitalise all entries within a
particular worksheet in Column D9
44, my problem is that when I enter a
lower case value into anyone of the cells, it remains lowercase, what am I
doing wrong?
Thanks
Private Sub Worksheet_ChangeToUpper(ByVal Target As Excel.Range)
With Target
If .Count = 1 Then
If Not Intersect(.Cells, Range("D9
44")) Is Nothing Then
Application.EnableEvents = False
.Value = UCase(.Value)
Application.EnableEvents = True
End If
End If
End With
End Sub
particular worksheet in Column D9
44, my problem is that when I enter alower case value into anyone of the cells, it remains lowercase, what am I
doing wrong?
Thanks
Private Sub Worksheet_ChangeToUpper(ByVal Target As Excel.Range)
With Target
If .Count = 1 Then
If Not Intersect(.Cells, Range("D9
44")) Is Nothing ThenApplication.EnableEvents = False
.Value = UCase(.Value)
Application.EnableEvents = True
End If
End If
End With
End Sub