oExcel.Workbooks("C:\report\res.xls").SaveAs("C:\Test1.xls")
oExcel.Workbooks(("C:\Test1.xls")).Save()
oExcel.Workbooks(("C:\Test1.xls")).Close()
or
oExcel.Workbooks(("C:\report\res.xls")).Close(SaveChanges:=True, "C:\Test1.xls")
i tired to use above 2 statements but unfortunately SaveAs to another file is not working
I need to save "C:\report\res.xls" file As "C:\Test1.xls"
Can some one help me in this reg..
Thanks,
Deepthi
oExcel.Workbooks(("C:\Test1.xls")).Save()
oExcel.Workbooks(("C:\Test1.xls")).Close()
or
oExcel.Workbooks(("C:\report\res.xls")).Close(SaveChanges:=True, "C:\Test1.xls")
i tired to use above 2 statements but unfortunately SaveAs to another file is not working
I need to save "C:\report\res.xls" file As "C:\Test1.xls"
Can some one help me in this reg..
Thanks,
Deepthi