![]() 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. So, you won’t be able to edit the document. ProtectedViewWindow Object Support and feedback Any Word document that you download from the internet and then open in Microsoft Word will be opened in the Protected View mode (read-only mode). Set pvDoc = ActiveProtectedViewWindow.Edit The following code example opens (for editing) the document associated with the active Protected View window. If a password is required in a procedure, request the password from the user, store it in a variable, and then use the variable in your code. The password for saving changes to the template.Īvoid using hard-coded passwords in your applications. The password for saving changes to the document. Now, select Edit User Permissions and change the permission type from Edit to Read. Select Members group and Stop Inheriting Permissions. Edit ( PasswordTemplate, WritePasswordDocument, WritePasswordTemplate)Įxpression An expression that returns a ProtectedViewWindow object. Then select Permissions for this document library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |