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

Application.PresentationSync Event (PowerPoint)

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

Occurs when the local copy of a presentation that is part of a Document Workspace is synchronized with the copy on the server. Provides important status information regarding the success or failure of the synchronization of the presentation.


expression. PresentationSync( Pres, SyncEventType )

expression A variable that represents an Application object.


NameRequired/OptionalData TypeDescription
PresRequiredPresentationThe presentation that is being synchronized.
SyncEventTypeRequiredMsoSyncEventTypeThe status of the synchronization.


The SyncEventType parameter value can be one of these MsoSyncEventType constants.

|| |:-----| |msoSyncEventDownloadInitiated| |msoSyncEventDownloadSucceeded| |msoSyncEventDownloadFailed| |msoSyncEventUploadInitiated| |msoSyncEventUploadSucceeded| |msoSyncEventUploadFailed| |msoSyncEventDownloadNoChange| |msoSyncEventOffline|


The following example displays a message if the synchronization of a presentation in a Document Workspace fails.

Private Sub app_PresentationSync(ByVal Pres As Presentation, _
        ByVal SyncEventType As Office.MsoSyncEventType)

    If SyncEventType = msoSyncEventDownloadFailed Or _
            SyncEventType = msoSyncEventUploadFailed Then

        MsgBox "Synchronization failed. " &; _
            "Please contact your administrator, " &; vbCrLf &; _
            "or try again later."

    End If

End Sub

See also


Application Object

© 2018 Microsoft