For first you must
create a backup copy of your Workbook!!!
Then you have to
rename the XLSB file with ZIP extension.
Test.XLSB =>
Test.ZIP
Opening your ZIP file
using a compression software (e.g. WinRar) I can see the content of the file,
structured in folders
Inside the folder xl you can find a binary file named vbaProject.bin.
Extract it on your
desktop and edit it using a text editor. In my case I used Notepad++.
Using the Find
function of your editor, you must search the text DPB
And replace the DPB string with DPx
Then save the vbaProject.bin and replace this file
inside the .ZIP File, renaming then .ZIP file in XLSB.
Reopening the XLSB
file using Excel, you will get an error message:
you have to answer Yes to this error message. Then Save, Close and Reopen your XLSB file.
Now, if you go to VBA
Editor (ALT + F11), you can see and edit all project files.
Add in view code worksheet.
"ActiveSheet.Unprotect "
Private Sub Worksheet_Activate()
ActiveSheet.Unprotect
End Sub
Comments
Post a Comment