Option Explicit
Sub ListeFichiersRepert()
Dim Fso As Object
Dim MonRepertoire As String, f As Object, x As Integer
Dim f1 As Object, f2 As Object
Set Fso = CreateObject("Scripting.FileSystemObject")
MonRepertoire = "G:\sourcing qualité\SAV\Analyse SAV"
x = 1
For Each f1 In Fso.GetFolder(MonRepertoire).SubFolders
Cells(x, 1).Value = f1.Name
x = x + 1
For Each f2 In f1.Files
If f2.Name Like "Constante*.xls*" Then
Cells(x - 1, 2).Value = f2.Name
x = x + 1
End If
Next f2
x = x - 1
Next f1
End Sub