Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Application.PresentationSync Event (PowerPoint)

Published: July 16, 2012

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.

Parameters

Name

Required/Optional

Data Type

Description

Pres

Required

Presentation

The presentation that is being synchronized.

SyncEventType

Required

MsoSyncEventType

The 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.