SharedWorkspaceTask.Title property (Office)
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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for