1 2 3 4 5 6 7 8 9 10 11 12
| Application.DisplayAlerts = False
ThisWorkbook.Sheets("F1").Copy 'Copie la Feuille Tables dans un nouveau classeur
'Enregistrement sous fichier existant
ChDir "\\SHARED\DONNEES\xxx\# Livrables"
ActiveWorkbook.SaveAs Filename:= _
"\\SHARED\DONNEES\xxx\# Livrables\MAJ.xls", _
FileFormat:=xlExcel8, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
code
Windows("MAJ.xls").Close savechanges:=True
Application.EnableEvents = True
Application.DisplayAlerts = True |
Partager