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.

Visual Basic for Applications
 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: