Sub auto_téléphonie()
Dim wb As Workbook, ws As Worksheet, ws2 As Worksheet
Dim i As Integer, lig As Integer, lig2 As Integer
Set wb = ThisWorkbook
Set ws = wb.Worksheets("Suivi")
Set ws2 = wb.Worksheets("Auto")
lig = ws.Cells(Rows.Count, 3).End(xlUp).Row + 1
' test sur la date si mois différent éxécution macro
If Month(ws2.Cells(2, 1)) <> Month(Date - 10) Then
ws.Cells(lig, 3) = ws2.Cells(2, 3)
ws.Cells(lig, 4) = ws2.Cells(2, 4)
ws.Cells(lig, 5) = ws2.Cells(2, 5)
ws.Cells(lig, 6) = ws2.Cells(2, 6)
ws.Cells(lig, 9) = ws2.Cells(2, 9)
ws.Cells(lig, 10) = ws2.Cells(2, 10)
'pour neutraliser la macro jusqu'au 10 du mois suivant
ws2.Cells(2, 1) = Date
End If
End Sub