Two questions re Template Password
	
	
		Two questions re passwords:
 
1) I have used the following macro in several Word templates to automatically lock a template when it is closed. I have been opening several templates at once, making updates, then "File, Save All" to close them all again. 
 
I am noticing that sometimes when I open the templates, they are not all locked. Does anyone have any idea why this is happening or how I would ensure that all templates are being locked? Is it something to do with "File, Save All"?
 
[vba]Private Sub Document_Close()
 
' Apply password for closing a template file
ElseIf ActiveDocument.Type = wdTypeTemplate Then
' Add specific password to prevent further edits without approval
If ActiveDocument.ProtectionType = wdNoProtection Then
ActiveDocument.Protect Password:="doccenter", _
Type:=wdAllowOnlyFormFields, NoReset:=True
End If
End If
 
End Sub
[/vba]
 
2) Other than disabling the above code, is it possible create a macro that will automatically apply the correct password (since I know what the password is) so I can make updates to some templates without having to enter the password each time for each one? I am updating 47 templates at a time!