disable power point save, save as copy and print RRS feed

  • Question

  • Hello,

    I have a quick question, I have a ppt document and want to prevent users from saving, printing, or copying the content when they veiw it on a sharepoint folder. Does anyone know some VBA code I could use to disable these options?

    Sunday, March 5, 2017 5:38 AM

All replies

  • Hi ppatil12,

    you can try to set permissions for users to read, write , print etc.

    for that you can use Presentation.Permission Property.

    Sub AddUserPermissions()
     Dim myPres As PowerPoint.Presentation
     Dim myPer As Office.Permission
     Dim NewOwnerPer As Office.UserPermission
     Set myPres = Application.Presentations.Add(msoTrue)
     Set myPer = myPres.Permission
     myPer.Enabled = True
     Set NewOwnerPer = myPer.Add("", msoPermissionRead )
     MsgBox myPer(1).UserId + " " + Str(myPer(1).Permission)
     MsgBox myPer(2).UserId + " " + Str(myPer(2).Permission)
    End Sub

    so that only particular users can access the document and perform the task according to their permissions.


    Presentation.Permission Property (PowerPoint)

    but VBA code will work only locally, not on sharepoint.

    so I suggest you to try to set permission by user interface of powerpoint and try to test it on sharepoint whether it work or not.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, March 6, 2017 5:49 AM