Actions Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.  

Returns an Actions collection that represents all the available actions for the Outlook item.

expression**.Actions**

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This Visual Basic for Applications example creates a new mail message and uses the Add method to add an Action to it.

  Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olMailItem)
Set myAction = myItem.Actions.Add

If you use VBScript, you do not create the Application object, and you cannot use named constants. This example shows how to perform the same task using VBScript.

  Set myItem = Application.CreateItem(0)
Set myAction = myItem.Actions.Add