ProtectedViewWindow.Edit Method

Opens the specified protected view window for editing.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Document Edit(
	ref Object PasswordTemplate,
	ref Object WritePasswordDocument,
	ref Object WritePasswordTemplate
)

Parameters

PasswordTemplate
Type: System.Object%
The password for opening the template.
WritePasswordDocument
Type: System.Object%
The password for saving changes to the document.
WritePasswordTemplate
Type: System.Object%
The password for saving changes to the template.

Avoid using hard-coded passwords in applications. 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 the code.

Community Additions

ADD
Show:
© 2015 Microsoft