countryfan_nt
Well-known Member
- Joined
- May 19, 2004
- Messages
- 765
Hello friends, Hope all is well!
Stuck in the below code, I got run time error 424: object required. The following was highlighted:
If Target.Address = "$I$5" Then
Really and always appreciate your help in advance!
Stuck in the below code, I got run time error 424: object required. The following was highlighted:
If Target.Address = "$I$5" Then
Really and always appreciate your help in advance!
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Call CHANGE
End Sub
Code:
Sub CHANGE()
Dim pt As PivotTable
Dim Field As PivotField
Dim NewCat As String
If Target.Address = "$I$5" Then
If IsDateFormat(Target.NumberFormat) Then
If Len(Target.Value) > 0 Then
If IsDate(Target.Value) Then
InitialDate = CDate(Target.Value)
End If
End If
DT = ShowCalendar("Double Click on the selected date", InitialDate)
If Not IsEmpty(DT) Then
Target.Value = CDate(DT)
End If
Cancel = True
End If
End If
If Target.Address = "$O$10" Then
' If Intersect(Target, Me.Range("D11")) Is Nothing Then
Call FIL1
End If
End Sub
Last edited: