MailItem.MarkAsTask method (Outlook)
Marks a MailItem object as a task and assigns a task interval for the object.
expression. MarkAsTask
( _MarkInterval_
)
expression An expression that returns a MailItem object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
MarkInterval | Required | OlMarkInterval | The task interval for the MailItem. |
Calling this method sets the value of several other properties, depending on the value provided in MarkInterval. For more information about the properties set by specifying MarkInterval, see OlMarkInterval Enumeration.
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.