ActiveWorkbook.SaveAs Filename:="C:\Temp\Test.xlsx", FileFormat:=xlNormal, _ Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _ CreateBackup:=False
Dim ObjFs As New Scripting.FileSystemObject Dim fsofil As File Set fsofil = ObjFs.GetFile"C:\Temp\Test.xlsx") fsofil.Delete
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)