supportsvc
Technical User
This does not work.
I get
Object doesn't support the property or method:
'myOutlook.SendNewestFiles'
as well as the switch for Office 2016 in Task Scheduler
Anyone know the correct VBS code to launch and run an Outlook Macro?
Or another way?
I tried the Application_StartUp but do not want to have it run every time Outlook is opened.
Otherwise have to open in Safe Mode to use Outlook regularly.
I get
Object doesn't support the property or method:
'myOutlook.SendNewestFiles'
Code:
Set myOutlook = CreateObject("Outlook.Application")
myOutlook.ThisOutlookSession.SendNewestFiles or myOutlook.SendNewestFiles
myOutlook.Quit
Set myOutlook = Nothing
Code:
"C:\.... Outlook.exe" /m ThisOutlookSession.SendNewestFiles
Anyone know the correct VBS code to launch and run an Outlook Macro?
Or another way?
I tried the Application_StartUp but do not want to have it run every time Outlook is opened.
Otherwise have to open in Safe Mode to use Outlook regularly.