supportsvc
Technical User
I currently have this text.vbs
I am getting an error however
Line: 1
Char: 15
Error: Expected end of statement
Code: 800A0401
Source: Microsoft VBScript compilation error
I would like to run this in Windows Task Scheduler
If there is a better way to run the Macro in Outlook on a daily basis at a certain time, please share.
Code:
Dim myOutlook As Object
Set myOutlook = GetObject("Outlook.Application")
myOutlook.Application.Run "SendNewestFiles"
myOutlook.Application.Quit
Set myOutlook = Nothing
I am getting an error however
Line: 1
Char: 15
Error: Expected end of statement
Code: 800A0401
Source: Microsoft VBScript compilation error
I would like to run this in Windows Task Scheduler
If there is a better way to run the Macro in Outlook on a daily basis at a certain time, please share.