Consulting

Results 1 to 3 of 3

Thread: forgot the password for my word file

  1. #1

    Question forgot the password for my word file

    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

  2. #2
    install passware kit forensic to recover your document.

  3. #3
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    The forum has a strict policy of not offering any password breaking methodology or software. Please do not ask for such assistance here.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •