Actions Collection Object

Actions Collection Object

         Properties         Methods        

Multiple objects
Actions collection (Action object)

A collection of Action objects that represent all the specialized actions that can be executed on an Outlook item.

Using the Actions Collection

Use the Actions property to return the Actions collection for any Outlook item object.

Use Actions(index), where index is the name of an available action, to return a single Action object.

The following Visual Basic for Applications example uses the "Reply" action of a particular item to send a reply.

Set myOlApp = CreateObject("Outlook.Application")
myItem = CreateItem(olMailItem)
Set myReply = myItem.Actions("Reply").Execute