Without putting a /CMD parameter value in the command line, is there any way to detect in VBA that the current state of the application is that it is executing from a scheduled task ?
What's happening is that my Outlook email is failing because a Namespace Logon method cannot be invoked when there is no user logged in.
I must jump over that statement when running from a scheduler.
What's happening is that my Outlook email is failing because a Namespace Logon method cannot be invoked when there is no user logged in.
I must jump over that statement when running from a scheduler.