I am running excel 2003. I am trying to write a macro that puts a certain range of calls all caps. In the macro I am using I keep on getting an error 424 object required. Any help would be appreciated.
Tom
Tom
Code:
Sub ChgAllCaps()
'
' ChgAllCaps Macro
' Macro recorded 2/6/2013 by tdonahue
If Not (Application.Intersect(Target, Range("D8:H105")) Is Nothing) Then
With Target
If Not .HasFormula Then
.Value = UCase(.Value)
End If
End With
End If
End Sub