Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start MS Outlook with an Outlook macro

Status
Not open for further replies.

gjbbroekhuis

Programmer
Jun 11, 2013
17
NL
Hi,

Is it possible to start MS Outlook from a VFP application with an Outlook macro?

In my Outlook 2016 I have a fully operational macro "MyMacro", enabled with a certificate.
This macro does certain things with the selected e-mail message. This is all working fine.
Now I would like to start Outlook from my VFP application with this macro.

Regards, Gerrit
 
You should be able to do this via the Application.Startup event in Outlook. Essentially it's a matter of running the macro from that event. For more details, see
To launch Outlook from VFP, you can use ShellExecute(). If you don't know how to do that, see
Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top