Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Office 2000
Objects
A
 Actions Collection Object
 
Actions Collection Object

                          

Multiple objects
Actions collection (Action object)

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

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
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker