Option Explicit
Sub sommaire()
Dim ligne As Long, i As Integer, x As String
With Sheets("Accueil")
.Range("b2") = "Liste des agents"
ligne = 6
For i = 2 To Sheets.Count
x = Sheets(i).Name
Range("B" & ligne).Formula = "=HYPERLINK(""[""&SUBSTITUTE(SUBSTITUTE(CELL(""nomfichier""),""["",""""),""accueil"",""" & x & "!A1""),""" & x & "!A1"")"
ligne = ligne + 1
Next
End With
End Sub