How would I set the name of an excel sheet. I would use the following code to access the sheet object
Set excelReport = CreateObject("Excel.Application")
excelReport.Workbooks.Add
Set excelSheet1 = excelReport.ActiveWorkbook.WorkSheets(1)
Set excelSheet2 = excelReport.ActiveWorkbook.WorkSheets(2)
Set excelReport = CreateObject("Excel.Application")
excelReport.Workbooks.Add
Set excelSheet1 = excelReport.ActiveWorkbook.WorkSheets(1)
Set excelSheet2 = excelReport.ActiveWorkbook.WorkSheets(2)