Table of contents
TOC
Collapse the table of content
Expand the table of content

SharedWorkspaceTask.DueDate Property (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets the optional due date and time of a SharedWorkspaceTask object. Read/write.

Note Beginning with Microsoft Office 2010, this object or member has been deprecated and should not be used.

Syntax

expression. DueDate()

expression An expression that returns a SharedWorkspaceTask object.

Example

The following example sets the DueDate of all tasks in a shared workspace to 12:00 noon on December 31, 2005 and uploads these changes to the server using the Save method.

Dim swsTask As Office.SharedWorkspaceTask 
    Const dtmNewDueDate As Date = #12/31/2005 12:00:00 PM# 
    For Each swsTask In ActiveWorkbook.SharedWorkspace.Tasks 
        swsTask.DueDate = dtmNewDueDate 
        swsTask.Save 
    Next 
    Set swsTask = Nothing

See also

Concepts

SharedWorkspaceTask Object

Other resources

SharedWorkspaceTask Object Members

© 2018 Microsoft