Sub test()
For i = 2 To Range("b" & Rows.Count).End(xlUp).Row
If Cells(i + 1, 2) <> Cells(i, 2) Then
n = CDate(Cells(i, 2))
Sheets("TRAME").Copy after:=Sheets(Sheets.Count)
ActiveSheet.Name = "TRAME " & Format(n, "dd-mm-yy")
Sheets("Tableau").Activate
End If
Next i
End Sub