Sub test_OL_RDV_vers_Excel()
Dim oOL As New Outlook.Application, oNS As Outlook.Namespace
Dim oCAL As Object, oLRDV As Object, oRV As Object, obj As Object, tmp$, Liste$, j&, k%
Set oNS = oOL.GetNamespace("MAPI")
Set oCAL = oNS.GetDefaultFolder(olFolderCalendar)
Set f = ActiveSheet
f.[A1:E1] = _
Array("Organisateur", "Date", "Objet", "Début Réunion", "Participants = Accepté"): j = 2
Set oLRDV = oCAL.Items: oLRDV.Sort "[Start]": oLRDV.IncludeRecurrences = True
Application.ScreenUpdating = False
For Each oRV In oCAL.Items
If oRV.Class = olAppointment Then
For Each obj In oRV.Recipients
If obj.MeetingResponseStatus = 3 Then
tmp = tmp & obj.Name & ",": Liste = Left(tmp, Len(tmp) - 1)
End If
Next
With oRV
f.Cells(j, 1).Resize(, 4) = Array(.Organizer, .CreationTime, .Subject, .Start)
End With
f.Cells(j, 5) = Liste
j = j + 1
End If
Next
End Sub