trigger outlook macro from excell.

  • Thread starter Thread starter Atishoo
  • Start date Start date
A

Atishoo

I have a macro that will only run in outlook, is it possible to open outlook
and trigger that macro ("sendtasks") from excell?
 
Dim ol As Object
Set ol = CreateObject("outlook.application")
Call ol.sendtasks


HTH,
Bernie
MS Excel MVP
 
The macro

Sub sendtasks()
'code
'End Sub

must be in either Outlook's default project or in the ThisOutlookSession's codemodule.

HTH,
Bernie
MS Excel MVP
 
Back
Top