Hello
I'm new to vba, I created a Microsoft Word Macro-Enabled Document (.docm) office 2016 file, added a form, and typed the following command:
ActiveDocument.Password = "Write me pwd"
If ActiveDocument.HasPassword = True Then _
MsgBox "The password is set."
After I closed the file, I forgot the password
How do I cancel the password
Note that I cannot open the file and access the form