Pasted this code into a module all by itself. This change is included in the July 2016 security updates (MS16-088). Safe mode lets you start Excel without encountering certain startup programs. This is exactly when a tool like Passper for Excel comes to play. It will generate an Excel sheet in the same directory with the name 'abc.xls'. Type your password again to confirm and then click “OK.” You’ll be returned to your Excel sheet. The method we described above works to remove passwords from the worksheets within your spreadsheet but it will not work to remove a password to OPEN your Excel spreadsheet. I need help removing a password from one of the sheets in a workbook. If you want your sheet to be password protected, you have the option of entering a password here. That's why we need a Excel password cracking software like Androidphonesoft. Clicking on the File tab on the Excel ribbon and selecting Save As from the list on the left hand side. You can open Excel in safe mode by pressing and holding Ctrl while you start the program, or by using the /safe switch (excel.exe /safe) when you start the program from the command line. But when we are trying to export excel with implementing WithMultipleSheets interface then PHPSpreadsheet password protect method not working even excel contain only one sheet in it.