I on occassion use a macro to open a doc that is passworded. The problem is that the macro includes the password. Ideally, I would want the macro to stop at the password prompt, but the stop button, in creating the macro, is locked off. I can only stop after entering the password. Looking at the script of the macro, I can't figure what to edit to have the macro stop at the prompt allowing the user to simply type in the password. Any suggestions?
' macOpenDoc Macro
Documents.Open FileName:="document.doc", ConfirmConversions:=False, ReadOnly:= _
False, AddToRecentFiles:=False, PasswordDocument:="rex", _
PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
WritePasswordTemplate:="", Format:=wdOpenFormatAuto, XMLTransform:=""