Hi All,
Simple question (as always from me!). I don't know the syntax for saving an Excel Spreadsheet to a different name.
I use this code to open it:
I then use loads of stuff to add Cell data, etc, etc
Now I need to save it with a different name ie not "MASTER" using a date.
The only code that works to save it is:
But obviously that saves it as the same name. Also as "Hidden".
Help would be greatly appreciated.
Jez
Simple question (as always from me!). I don't know the syntax for saving an Excel Spreadsheet to a different name.
I use this code to open it:
Code:
Set obj=CreateObject("Excel.Application")
Set obj= getobject("D:\Scripts Output\" & SiteCode & " Aisle Layout MASTER.xls")
Now I need to save it with a different name ie not "MASTER" using a date.
The only code that works to save it is:
Code:
Obj.save
set objWorkBook = Nothing
set objExcel = Nothing
Help would be greatly appreciated.
Jez