<p>Another way to remove VBA project password is;</p>
<ul>
<li>
<p>Open xls file with a hex editor.<br>
(ie. Hex Edit <a href="http://www.hexedit.com/">http://www.hexedit.com/</a>)</p>
</li>
<li>
<p>Search for DPB</p>
</li>
<li>
<p>Replace DPB to DPx</p>
</li>
<li>
<p>Save file.</p>
</li>
<li>
<p>Open file in Excel.</p>
</li>
<li>
<p>Click “Yes” if you get any message box.</p>
</li>
<li>
<p>Set new password from VBA Project Properties.</p>
</li>
<li>
<p>Close and open again file, then type your new password to unprotect.</p>
</li>
</ul>
<p><strong>UPDATE:</strong> For Excel 2010 (Works for MS Office Pro Plus 2010 [14.0.6023.1000 64bit]),</p>
<ul>
<li>Open the XLSX file with 7zip</li>
</ul>
<p><strong>If workbook is protected:</strong></p>
<ul>
<li>
<p>Browse the folder <code>xl</code></p>
</li>
<li>
<p>If the workbook is protected, right click <code>workbook.xml</code> and select <strong>Edit</strong></p>
</li>
<li>
<p>Find the portion <code><workbookProtection workbookPassword="XXXX" lockStructure="1"/></code> (<code>XXXX</code> is your encrypted password)</p>
</li>
<li>
<p>Remove <code>XXXX</code> part. (ie. <code><workbookProtection workbookPassword="" lockStructure="1"/></code>)</p>
</li>
<li>
<p>Save the file.</p>
</li>
<li>
<p>When 7zip asks you to update the archive, say <strong>Yes</strong>.</p>
</li>
<li>
<p>Close 7zip and re-open your XLSX.</p>
</li>
<li>
<p>Click <strong>Protect Workbook</strong> on <strong>Review</strong> tab.</p>
</li>
<li>
<p>Optional: Save your file.</p>
</li>
</ul>
<p><strong>If worksheets are protected:</strong></p>
<ul>
<li>
<p>Browse to <code>xl/worksheets/</code> folder.</p>
</li>
<li>
<p>Right click the <code>Sheet1.xml</code>, <code>sheet2.xml</code>, etc and select <strong>Edit</strong>.</p>
</li>
<li>
<p>Find the portion <code><sheetProtection password="XXXX" sheet="1" objects="1" scenarios="1" /></code></p>
</li>
<li>
<p>Remove the encrypted password (ie. <code><sheetProtection password="" sheet="1" objects="1" scenarios="1" /></code>)</p>
</li>
<li>
<p>Save the file.</p>
</li>
<li>
<p>When 7zip asks you to update the archive, say <strong>Yes</strong>.</p>
</li>
<li>
<p>Close 7zip and re-open your XLSX.</p>
</li>
<li>
<p>Click <strong>Unprotect Sheet</strong> on <strong>Review</strong> tab.</p>
</li>
<li>
<p>Optional: Save your file.</p>
</li>
</ul>