Private Sub Worksheet_Activate()
Dim a(), n%
With [O17]
If Sheets.Count > 2 Then
ReDim a(1 To Sheets.Count - 2, 1 To 3)
For n = 1 To UBound(a)
a(n, 1) = Sheets(n + 2).Name
Next
n = n - 1
With .Resize(n, 3)
.Value = a
.BorderAround Weight:=xlThin 'pourtour
.HorizontalAlignment = xlCenterAcrossSelection
End With
End If
.Offset(n).Resize(32 - n, 3).Clear 'RAZ en dessous
End With
End Sub