Sub SelectionnerFichiers()
Dim i As Integer, MesFichiers As Collection, Fichier
Dim RegEx As Object, matches As Object
On Error Resume Next
Set RegEx = CreateObject("VBScript.RegExp")
RegEx.Pattern = ".*\\(.*)\\(.*)$"
RegEx.Global = True
Sheets("Menu").Select
Set MesFichiers = ChoixFichiers()
Init
'Set Fso = CreateObject("Scripting.FileSystemObject")
'Set FsoFolder = Fso.GetFolder(Repertoire) '
i = 1 + DerLig
For Each Fichier In MesFichiers
i = i + 1
Set matches = RegEx.Execute(Fichier)
Cells(i, 1) = Fichier
Cells(i, 2) = matches(0).submatches(0) + "_" + matches(0).submatches(1)
Next
Set MesFichiers = Nothing
DerLig = i - 1
End Sub