Hello,
I need VBA code to run each early morning and shoot off an email if a date is 10 or 4 weeks away.
Using Window's Task Scheduler I can successfully open Access (on schedule) and get the VBA code to run which generates the emails. I also can get Outlook to open via the Windows Task Scheduler .
The problem I am having is that if my machine is locked/I’m logged out, (which is what we are told to do before leaving the office each day), Outlook will not send the emails until I log on once I return to the office. (I don't understand this, but this is the case).
This is problematic b/c I am often not in the office for 3-4 days at a time, and if I schedule Access to close after it runs (which I need to for security reasons), then the emails are not even put in queue to send later(!)
So, I need to be able to automate the logging into “my computer” each early morning. (i.e., into that Windows log in screen).
Has anyone had this roadblock?
I don’t know what the program is called that pops up the Windows log on screen; I just need the executable to be able to schedule it (I’m assuming).
When I asked our tech guy, he said the automation of the login is just not an option (for security reasons). Is this that big of a security issue? (The way I envision it, the Task Scheduler would merely log me in and then out within 5 minutes.)
Any suggestion much appreciated.
sjl
I need VBA code to run each early morning and shoot off an email if a date is 10 or 4 weeks away.
Using Window's Task Scheduler I can successfully open Access (on schedule) and get the VBA code to run which generates the emails. I also can get Outlook to open via the Windows Task Scheduler .
The problem I am having is that if my machine is locked/I’m logged out, (which is what we are told to do before leaving the office each day), Outlook will not send the emails until I log on once I return to the office. (I don't understand this, but this is the case).
This is problematic b/c I am often not in the office for 3-4 days at a time, and if I schedule Access to close after it runs (which I need to for security reasons), then the emails are not even put in queue to send later(!)
So, I need to be able to automate the logging into “my computer” each early morning. (i.e., into that Windows log in screen).
Has anyone had this roadblock?
I don’t know what the program is called that pops up the Windows log on screen; I just need the executable to be able to schedule it (I’m assuming).
When I asked our tech guy, he said the automation of the login is just not an option (for security reasons). Is this that big of a security issue? (The way I envision it, the Task Scheduler would merely log me in and then out within 5 minutes.)
Any suggestion much appreciated.
sjl