Sub test1()
Dim MonMail As Outlook.MailItem
Dim Olk_selex As Outlook.Selection
Dim OutlookApp As New Outlook.Application
Dim OutlookExp As Outlook.Explorer
Dim MonNSpace As Outlook.NameSpace
Dim MyPath, myort, ext, a As String
Dim i, j As Integer
Dim MesAttachments
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookExp = OutlookApp.ActiveExplorer
Set MonNSpace = OutlookApp.GetNamespace("MAPI")
Set Olk_selex = OutlookExp.Selection
For i = 1 To Olk_selex.Count
Set MonMail = Olk_selex.Item(i)
Set MesAttachments = MonMail.Attachments
If MesAttachments.Count > 0 Then
For j = 1 To MesAttachments.Count
MesAttachments(j).SaveAsFile "C:\dossier\" & _
MesAttachments(j).DisplayName
Next j
End If
Next i
End Sub