Office family has a very complicated relationship with VB. VBA is built into all applications of Microsoft Office components. You can manipulate the objects of Word application through VB or VBA, and use exhaustive testing's method to retrieve the lost password. This paper will discuss how to use VB to program, clear the password of Word document by exhaustive testing method, and add interruption in the process of cracking, so that users can interrupt at any time. Word provides a variety of methods to restrict access to user documents to prevent unauthorized people from viewing and changing documents. However, in today's information age, users need to remember too many passwords. Once the passwords are lost, they can't open or access documents, resulting in great losses to users. In order to decipher the password, the only choice is to decipher the file by exhaustive method, and decipher the password with the help of the high-speed movement of the computer in the case of word encryption algorithm.
In the actual design process, I designed the theme to make it easy for consumers to find the lost password.
Keywords: exhaustive method, decryption, WORD document, password.