E
Esperanza
Hello VBA Expert
I need to find an appointment in Outlook to update it.
My appointment is set to all day event.
If I used the following code, it cannot find the appointment. oApptItem will
equal nothing
Set oApptItem = oCalendarFolder.Items.Find("[subject] = " & strActivite & "
AND [Location]=" & strLocation & " AND [Start] = """ & tdystart & """" & "
AND [AlldayEvent]= true")
But if my appointment is NOT set to all day event the folloying code works :
' Set oApptItem = oCalendarFolder.Items.Find("[subject] = " &
strActivite & " AND [Location]=" & strLocation & " AND [Start] = """ &
tdystart & """")
How can I find my appointments set to all day event?
Thanks for your help !!
Esperanza
I need to find an appointment in Outlook to update it.
My appointment is set to all day event.
If I used the following code, it cannot find the appointment. oApptItem will
equal nothing
Set oApptItem = oCalendarFolder.Items.Find("[subject] = " & strActivite & "
AND [Location]=" & strLocation & " AND [Start] = """ & tdystart & """" & "
AND [AlldayEvent]= true")
But if my appointment is NOT set to all day event the folloying code works :
' Set oApptItem = oCalendarFolder.Items.Find("[subject] = " &
strActivite & " AND [Location]=" & strLocation & " AND [Start] = """ &
tdystart & """")
How can I find my appointments set to all day event?
Thanks for your help !!
Esperanza