OPEN OUTLOOK IN A MACRO

D

DAVE

I am trying to automate the sending of an e-mail to a
macro in MS ACCESS 2000 using the RUNAPP action.If Outlook
is not already open I receive a dialog box prompting me to
choose a mail profile, and the macro fails at this
point.The only selection available is MS Exchange Settings
and it is already selected. If Outlook is open prior to
the macro execution it works fine.

Help
 
S

Steve Schapel

Dave,

I think you will have to include some sort of switch information in
the Command Line argument you use for opening Outlook, to take care of
the Profile requirements. I don't know what specifically. It might
be something which you would get a better answer in an Outlook
newsgroup.

Another option, possibly more appropriate, is to use a SendObject
macro rather than RunApp.

- Steve Schapel, Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top