Private Sub Workbook_Open()
Dim i As Integer, k As Integer, c As Range
If Month(Sheets("Tool").Range("B3")) <> Month(Date + 1) Then
With Sheets("Report")
Set c = .Cells.Find(Sheets("Tool").Range("B3"), , LookIn:=xlFormulas, LookAt:=xlWhole)
If Not c Is Nothing Then
For i = 4 To 8
.Cells(i, c.Column) = Sheets("Tool").Cells(i, 3)
Next i
For k = 4 To 8
.Cells(k, c.Column - 1).Copy .Cells(k, c.Column - 1)
Next k
End If
End With
MsgBox "Report éffectué avec succès !", , "TOOLS"
End If
End Sub