VBA Password Recovery

C

Chris

I have a question on an old method on unlocking access to VBA Modules.

I am following the process as follows:
1. Create a new simple excel file.
2. In the VBA part, set a simple password (say - 1234).
3. Save the file and exit.
4. Open the file you just created with a hex editor.
5. Copy the lines starting with the following keys:
CMG=....
DPB=...
GC=...
6. FIRST BACKUP the excel file you don't know the VBA password for,
then open it with your hex editor, and paste the above copied lines
from the dummy file.
7. save the excel file and exit.
8. Now, open the excel file you need to see the VBA code in. The
password for the VBA code will simply be 1234


The issue is as follows:
the unknown password file CMG, DPB and GC string has a length of 134
bytes; however, the files that are created have a lengths (varies
alternatively between 139 and 141.
Is there any advice to help me recover this lost file?
 
S

Simon Lloyd

Sorry, but although Excel's protection is very weak i don't think you
will find people very willing to help circumvent it.

There are retail programs out there that can do this for you!

Chris;617777 said:
I have a question on an old method on unlocking access to VBA Modules.

I am following the process as follows:
1. Create a new simple excel file.
2. In the VBA part, set a simple password (say - 1234).
3. Save the file and exit.
4. Open the file you just created with a hex editor.
5. Copy the lines starting with the following keys:
CMG=....
DPB=...
GC=...
6. FIRST BACKUP the excel file you don't know the VBA password for,
then open it with your hex editor, and paste the above copied lines
from the dummy file.
7. save the excel file and exit.
8. Now, open the excel file you need to see the VBA code in. The
password for the VBA code will simply be 1234


The issue is as follows:
the unknown password file CMG, DPB and GC string has a length of 134
bytes; however, the files that are created have a lengths (varies
alternatively between 139 and 141.
Is there any advice to help me recover this lost file?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top