Private Sub Worksheet_Activate()
Dim tablo, ncol%, d As Object, i&, x$, n&, j%
With [table_1]
.Sort .Cells(1), xlAscending, Header:=xlYes 'tri de sécurité
tablo = .Value
End With
ncol = UBound(tablo, 2)
Set d = CreateObject("Scripting.Dictionary")
For i = 1 To UBound(tablo)
x = Left(tablo(i, 1), 13) & tablo(i, 5) 'les minutes sont exclues
If Weekday(tablo(i, 1), 2) < 6 And Not d.exists(x) Then 'du lundi au vendredi
d(x) = ""
n = n + 1
For j = 1 To ncol
tablo(n, j) = tablo(i, j)
Next j
End If
Next i
'---restitution---
If FilterMode Then ShowAllData 'si la feuille est filtrée
With [A2] '1ère cellule de destination, à adapter
If n Then .Resize(n, ncol) = tablo
.Offset(n).Resize(Rows.Count - n - .Row + 1, ncol).ClearContents 'RAZ en dessous
End With
Columns.AutoFit 'ajustement largeurs
With UsedRange: End With 'actualise la barre de défilement verticale
End Sub