Code: Select all
Set objxl = CreateObject("excel.application")
objxl.Workbooks.Open FileName:=strPath & "\Template.xlsx"
objxl.Visible = True
objxl.screenupdating = False
objxl.Sheets("TheReport").Select
'Do all the really cool stuff here....
objxl.screenupdating = True
'Save the Spreadsheet
objxl.ActiveWorkbook.SaveAs FileName:="C:\MyFolder\" & Format(Now, "YYYYMMDD") & "_Auction Results.xls", FileFormat:=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False
What am I missing?