title: Unlock password protected Workbook using VBA or Python
body: <p>I have a workbook name m.xlsx, but it's password protected and I've forgotten the password. How can I open it or un-protect it?</p>
  
  <p>The following code does not work:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/32970393/unprotect-workbook-without-password">Unprotect workbook without password</a></li>
  <li><a href="https://stackoverflow.com/questions/27556751/i-need-the-command-to-unprotect-an-excel-file-from-python">I need the command to unprotect an Excel file from python</a></li>
  </ul>
  
  <p>It ask for password when opened, and the above code does not unlock the workbook. </p>
  
  <p>So, I want to put this code in a new workbook and then link my excel file with a code in place of THISWORKBOOK. Is there a way to put the m.xlsx file path without opening it (as opening of file needs password), and then run this code to unprotect the m.xlsx file?</p>
  
  <p>Or is there any better way to  unprotect workbook in VBA or Python programming? I have checked some Python code but they are opening the file and that is where the problem is.</p>