Sub envoyermailstockneg()
Application.ScreenUpdating = False
Dim oOutlook As Object
Set oOutlook = CreateObject("Outlook.Application")
Dim oMail As Object
Set oMail = oOutlook.CreateItem(0)
Dim cellule As Range
With oMail
Dim oObjetWord As Object
Set oObjetWord = .GetInspector.WordEditor
Dim ListeDestinataire As String
ListeDestinataire = ""
Range("listmail").Columns(2).Select
For i = 2 To Range("ListMail").Rows.Count
If Range("ListMail").Item(i, 2) <> "" Then
ListeDestinataire = ListeDestinataire & Range("ListMail").Item(i, 2) & ";"
End If
Next i
.To = ListeDestinataire
.Subject = "Mail automatique : " & ThisWorkbook.Name
Worksheets("PDCA").Select
Range("A1:N28").Select
Range("A1:N28").Copy
oObjetWord.Range(0).Paste
.Display
.Save
.Send
Application.CutCopyMode = False
Worksheets("Recapitulatif").Select
Range("A2").Select
ActiveWindow.ScrollRow = Selection.Row
ActiveWindow.ScrollColumn = Selection.Column
Application.EnableEvents = True
End With
End Sub