Sub dupliquer()
Dim NumFacture As String, sDossier As String, Source As String
Dim Fso As Object
NumFacture = InputBox("NOTER NOM PRENOM DU NOUVEAU AGENT")
If NumFacture <> vbNullString Then
Worksheets("AGENTTYPE").Copy after:=Worksheets(Worksheets.Count)
ActiveSheet.Name = NumFacture
'Chemin du dossier (Dans le même dossier que le classeur ouvert)
sDossier = ThisWorkbook.Path & "\" & NumFacture
'Chemin du dossier source
Source = "D:\Users\?????\Documents\Club\Xl Downloads\Linda" ' à préciser
Set Fso = CreateObject("Scripting.FileSystemObject")
If Not Fso.FolderExists(sDossier) Then Fso.CreateFolder sDossier
Fso.CopyFolder Source, sDossier, True
Set Fso = Nothing
End If
End Sub