Sub Save_Doc()
Dim rep
Set Plage = Feuil1.Range("B2").CurrentRegion
Plage.SpecialCells(xlCellTypeVisible).Copy
Set NewFich = Workbooks.Add
ActiveWorkbook.ActiveSheet.Range("A1").PasteSpecial
ActiveSheet.Range("A1").CurrentRegion.EntireColumn.AutoFit
rep = Application.GetSaveAsFilename(fileFilter:="Fichiers Excel (*.xls*),*xls*", Title:="Fichier ERP à Importer", ButtonText:="Importer")
If rep = "" Then MsgBox "ANNULATION": Exit Sub
NewFich.SaveAs Filename:=rep
ActiveWorkbook.Close , False
MsgBox "Extraction faite"
End Sub