Dim Ws As Worksheet
Dim monFichier As String
Dim wb As Workbook
Dim chemin As String
Set wb = Workbooks(ThisWorkbook.Name)
Dim sh As Worksheet
chemin = ThisWorkbook.Path & "\mon_dossier\"
monFichier = Dir(chemin & "*.xls", vbNormal)
Do While monFichier <> ""
Nb = Nb + 1
onglet = monFichier
wb.Sheets.Add(After:=Worksheets(Worksheets.Count)).Name = onglet
nom = ThisWorkbook.Path & "\mon_dossier\" & monFichier
Workbooks.Open (nom) ' ouvre fichier
If Ws.Name <> "Fichier1.xlsm" Then
'code
Else
'code
End If
monFichier = Dir
Loop
Sheets("Fichier1.xlsm").Select
ActiveWindow.SelectedSheets.Delete
Sheets("Fichier2.xls").Select
ActiveWindow.SelectedSheets.Delete
End Sub