As I stated in the question, I need such plug-in since I'm dealing with password protected excel and word files and these passwords are mostly same but long and complicated. Such plug-in will save lots of time. Also note that Winrar has such built-in functionality. I need exactly like that.

Thanks in advance!

Update: I need like in the picture:

enter image description here

Like in the winrar:

enter image description here

  • 1
    Why not simply use a standard password manager?
    – Alejandro
    Sep 13, 2018 at 10:47
  • Like what? And this can be applied to excel and word?
    – ninbit
    Sep 13, 2018 at 10:58
  • Pretty much any standalone password manager will do. They're ultimately unaware of what are the passwords for, often websites but they can be literally anything, including Office files.
    – Alejandro
    Sep 13, 2018 at 12:45
  • The files are coming from others, with password protection already. So in this case, I need a manager that remembers passwords inside word/excel window. Can you know a manager like that? If so, please post it then
    – ninbit
    Sep 13, 2018 at 13:44
  • That won't matter. If the "protected" file comes from others, then the others need to provide the password together with the file, and you need to input it somewhere at least once. Any kind of password manager (within Offce or not) can remember previously entered password, but not completely unknown ones.
    – Alejandro
    Sep 13, 2018 at 13:56

1 Answer 1


Keepass 2

I recommend storing all of your passwords with Keepass 2, not just the passwords for these documents.

Here's a way to get Keepass to open the file and enter the password for you:

  1. For each file, create a new entry in KeePass with the folder path as the UserName; e.g. C:\Inconspicuous\NefariousSchemes.docx or C:\Users\SecretAgent\MissleLaunchCodes.xlsx.

  2. Put the password in the Password field.

  3. For the URL, put this command for Excel files:

    cmd://powershell.exe -command "(New-Object -comobject Excel.application).Workbooks.Open('{UserName}',0,0,5,'{Password}').parent.visible = $true"

    ...and this command for Word documents:

    cmd://powershell.exe -command "(New-Object -comobject Word.application).Documents.open('{UserName}',$null,$false,$null,'{Password}').parent.visible = $true"

Edit User name, Password, and URL fields in Keepass entry

Once this is done, you can open any of these password-protected files by selecting the entry in Keepass and hitting Ctrl+U to run the command stored in the Url field.

Right-click or Ctrl+U to open URL for a given KeePass entry

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.