I have a routine that takes a query, and calls Excel and opens a workbook file (template) then pastes the contents into the sheet, then emails the sheet as an attachment to a senior manager.
I want to copy that template to a MMDDYYFileName.XLS in the routine.
How can this be done in VBA.
Thx
I want to copy that template to a MMDDYYFileName.XLS in the routine.
How can this be done in VBA.
Thx