PostItem.MarkAsTask method (Outlook)

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

Syntax

expression. MarkAsTask( _MarkInterval_ )

expression An expression that returns a PostItem object.

Parameters

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

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

PostItem 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.