Share via


Save Method

Uploads changes made programmatically to a SharedWorkspaceLink or a SharedWorkspaceTask to the server.

expression.Save()

*expression   * Required. An expression that returns a SharedWorkspaceLink or a SharedWorkspaceTask object.

Remarks

Use the Save method to upload changes to the server after changing the properties of a shared workspace link or task.

Example

The following example sets a new DueDate for each task in the shared workspace and uploads the changes to the server using the Save method.

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

Applies to | SharedWorkspaceLink Object | SharedWorkspaceTask Object