I tried this question in one of the Access forums without success. Perhaps this is more appropriate here.
I want to launch an Outlook eMail message automatically from Access, but the process stops at the Choose Profile box if Outlook is closed. You must press "Enter" to proceed. I need a way to programatically get past the Choose Profile box.
Details:
I'm using the SendObject method to send the message and everything works fine as long as Outlook is already open.
If Outlook is closed, and you you simply press "Enter," the message sends and Outlook closes again (good). If you Cancel, the message is canceled (which I want to prevent).
This is a distributed database, on shared PCs, on the shop floor. It doesn't matter whose profile is chosen, because the message contains the info we want. How can I automatically pass the Choose Profile box so the message can't be cancelled?
I've tried using SendKey {Enter} but the code is stopped until you respond to the Choose Profile dialog box.
I'd be grateful for any suggestions. Thanks.
I want to launch an Outlook eMail message automatically from Access, but the process stops at the Choose Profile box if Outlook is closed. You must press "Enter" to proceed. I need a way to programatically get past the Choose Profile box.
Details:
I'm using the SendObject method to send the message and everything works fine as long as Outlook is already open.
If Outlook is closed, and you you simply press "Enter," the message sends and Outlook closes again (good). If you Cancel, the message is canceled (which I want to prevent).
This is a distributed database, on shared PCs, on the shop floor. It doesn't matter whose profile is chosen, because the message contains the info we want. How can I automatically pass the Choose Profile box so the message can't be cancelled?
I've tried using SendKey {Enter} but the code is stopped until you respond to the Choose Profile dialog box.
I'd be grateful for any suggestions. Thanks.