Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Action Object

Office 2003
Actions
Action

Represents a specialized action (for example, the voting options response) that can be executed on an item. The Action object is a member of the Actions object.

Using the Action 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 (VBA) 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
		

The following Visual Basic for Applications example does the same thing, using a different reply style for the reply.

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


Parent Objects

Child Objects


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.