an action in a commandButton

  • Thread starter Thread starter armando
  • Start date Start date
The Action.Execute method should be documented in Help:

Set myAction = Item.Actions("My Action")
myAction.Execute

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
i have put these code in a Commandbutton,
when the action is call
myAction.Execute

the program go in

Function Item_CustomAction(ByVal Action, ByVal NewItem)
Select Case Action.Name
Case "Passa Lettera A.."
insp.Close 0

and so close the windows but the action isn't done!
 
I don't see any code to instantiate an insp object.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Does a MsgBox statement in the same position work? Outlook version?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top