MailItem.MarkAsTask method (Outlook)

Marks a MailItem object as a task and assigns a task interval for the object.

Syntax

expression. MarkAsTask( _MarkInterval_ )

expression An expression that returns a MailItem object.

Parameters

Name Required/Optional Data type Description
MarkInterval Required OlMarkInterval The task interval for the MailItem.

Remarks

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.

See also

MailItem Object

Support and feedback

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.