supportsvc
Technical User
For some reason the PDF file opens and I do not want it to open.
Just send the email
This code does create the worksheet as a PDF and does send the email
However it opens the PDF, I don't want it to do that.
Not sure how to edit so it will not open the PDF when running this script.
NOTE: this script will be used in Windows Task Scheduler
Just send the email
Code:
Set objcExcel = CreateObject("Excel.Application")
objExcel.Application.Run "'C:\ReportResults\BacklogEmail.xlsm'!Module!.sendBacklogEmail"
objExcel.DisplayAlerts = False
ojbExcel.Application.Quit
Set ojbExcel = Nothing
This code does create the worksheet as a PDF and does send the email
However it opens the PDF, I don't want it to do that.
Not sure how to edit so it will not open the PDF when running this script.
NOTE: this script will be used in Windows Task Scheduler