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

SharedWorkspaceTask.Title Property (Office)

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

Sets or gets the title 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. Title

expression A variable that represents a SharedWorkspaceTask object.

Return Value

String

Remarks

The Title property is the single required property of a shared workspace task. Use the optional Description property to provide or return additional information about the task.

Example

The following example displays a list of the titles of all tasks in the current shared workspace.

 Dim swsTask As Office.SharedWorkspaceTask 
    Dim strTasks As String 
    For Each swsTask In ActiveWorkbook.SharedWorkspace.Tasks 
        strTasks = strTasks & swsTask.Title & vbCrLf 
    Next 
    MsgBox strTasks, vbInformation + vbOKOnly, _ 
        "Tasks in Shared Workspace" 
    Set swsTask = Nothing 

See also

Concepts

SharedWorkspaceTask Object

Other resources

SharedWorkspaceTask Object Members

© 2018 Microsoft