Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim pos As Integer
Dim sem As String
Application.ScreenUpdating = False
If Target.Row = 5 Or Target.Row = 14 Then 'Ligne des mois
Range("B24") = Target.Offset(0, -1).Value 'maj mois
Range("B26").Value = Target.Offset(0, -1).Value 'début mois choisi
End If
If Target.CountLarge > 1 Then Exit Sub
If Target.Row >= 7 And Target.Row <= 21 Then
Range("B24") = Target.Value 'maj mois
sem = CStr(Application.IsoWeekNum(Target.Value)) 'semaine
Range("B26").Value = DateSerial(Year(Target.Value), Month(Target.Value), 1) ' début mois choisi
With Worksheets(sem) 'sélection feuille
.Visible = True
.Activate
pos = 1 'sélection date
While .Range("A2").Offset(0, pos).Value <> Target.Value
pos = pos + 1
Wend
.Range("A2").Offset(0, pos).Activate 'position colonne
End With
End If
Application.ScreenUpdating = True
End Sub