Hi all.
I have inherited a macro that gathers information and then sends an email if certain criteria are met with Outlook desktop. The system have been working flawlessly for sometime. We have noticed that the macro stops only when our windows 10 PC locks or goes to sleep. I did some researched and it appear the sendkeys won't allow email to be sent when the PC is locked.
I read somewhere that I could use windows scheduler to create a process to send at certain intervals. Because of our group policys on our system, Scheduler is disabled. Besides, we need the macro to send emails immediately.
Is there another method that I can use to get emails to be send whether or not the PC is locked? Below is the working code stored in an excel class module.
![]()
Please Login or Register to view this content.
Bookmarks