How to Unlock Password Protected Word Document ||

how to unlock password protected word file

If you looking to unlock password-protected word documents then this is the right place to find out many ways to open password-protected word documents without software or online.

Are you a student and use Microsoft Office by which you complete your office work or your projects but just now recently you have created a word document on ms word for your own office or project, on which you also put a password lock?

But now If you have forgotten the word password of that document and want to know How to open password protected word document without knowing the password, then read this article completely, then you will also be able to easily open the password of your word document.

So let’s get started !!

Open Password Protected Word Document

Now I will tell you some ways to open password protected word document, From which you can use any method to open your word document without a password and you will not have any problem in doing these methods because it is quite easy and if one of the methods does not work then you can use other methods to unlock password-protected word document.

Open Password Protected Word Document with VBA code

open password protected file

Follow the steps for unlocking password protected word documents –

  • First,Open MS word new Document
  • Then Press “Alt + F11” to start VBA
  • click on insert and select module.
  • Then type or Paste this code –
Sub test()
Dim i As Long
i = 0
Dim FileName As String
FileName = Application.FileDialog(msoFileDialogOpen).SelectedItems(1)
ScreenUpdating = False
Line2: On Error GoTo Line1
Documents.Open FileName, , True, , i & ""
MsgBox "Password: " & i
Application.ScreenUpdating = True
Exit Sub
Line1: i = i + 1
Resume Line2
ScreenUpdating = True
End Sub
  • After, witted this code press F5 to run.
  • Then select the word file which is password protected
  • Finally, you will see the Open password protected word document and you will show your password in a small box.

In this way, you can easily find the password of any locked word document and also unlock it without a password. In this way, all you have to do is to write a code that will open your locked file in reading mode Tells the password.

Recover Word Document Protected Password without Password

open password protected file

In this way you have to change some details of that document to open a password-protected word document, then you will be able to access them easily. So follow the steps –

  • First, open password protected word document
  • Then select File > Save as
  • then select Word XML Document (*.xml) in file type
  • Now save the file
  • Then Open the file by right-click and open with notepad
  • Press Ctrl + F and type “enforcement” then hit enter.
  • you will got w:enforcement=”1″.
  • Replace 1 with 0
  • Then Save file and again open it by double-click

Then you will see that your password-protected word document has been opened. In this method, all you have to do is to disable the password protection of the word file so that you can easily Unlock Password Protected Word Documents without a password.

If you have liked this article and liked it, then you can share it with friends and family so that they do not ever get such a problem.

If you have any problem with any part of this article, or you want any more information related to the computer, then tell me in the comment box, I will surely reply to you.

Thank You !!

Pawan Chauhan

I'm a Web Developer and Software Trainer.

Leave a Reply