Mike, are you sure you followed all the instructions and/or did you go on
to
try and open the file with the alternative password in the report.
JKP made a file protected with his method (actually it's been around a
long
time but the original source is unknown) for others to attempt to crack
and
AFAIK nobody was able to break it with Passware (there are other simple
ways
though which I won't go in to!)
Beetal, curiosity why are you only asking MVPs, they are not the only
ones
around here who might be able to answer your question.
Regards,
Peter T
Passware (the link I gave you before) removed the password, saved an
unprotected copy and let me view the code in < 1 second.
Note that the password shown below wasn't the real password, passware
can't
discover that, Instead it generates a string that will unlock the
workbook.
the actual password was quite complex and a mix of 10 alpha/numeric
characters
Here's the passware report
File: Book1.xla
Folder: C:\Documents and Settings\Mike H\Application
Data\Microsoft\AddIns\
Protection: MS Excel 97-2003 - VBA Project, VBA Password
Complexity: Instant Unprotection
File-Open password: no password is set
File-Modify password: no password is set
VBA Project password: [FDGSCX] (no brackets) <Copy> (generated)
Unprotected file: Book1-unprotected.xla
--
Mike
When competing hypotheses are otherwise equal, adopt the hypothesis
that
introduces the fewest assumptions while still sufficiently answering
the
question.
:
Mike,
Have you tried the method as advised by Jan Karel Pieterse . Can you
try
that method and tell us how easy it is to crack the VBA project .
Hope you answer back soon.
:
Is there no way to fully protect a VBA project?
No there isn't. Worksheet passwords can be cracked in moments with
software
freely available using a Google search.
Workbook to open and project passwords are more difficult and
generally
need
commercial software to remove them but software such as found at the
end of
the link below will remove a project password instantly.
The only way I'm aware of is to build you VB project using third
party
software compiled outside of Excel but i know very little about
that.
http://www.lostpassword.com/kit-standard.htm
--
Mike
When competing hypotheses are otherwise equal, adopt the hypothesis
that
introduces the fewest assumptions while still sufficiently answering
the
question.
:
Is there no way to fully protect a VBA project?
I have come across many comments in the excel programming news
group
which
say that it would take 30 seconds to un-protect a VBA project.
What is the best way to make the opening up the VBA project as
difficult as
possible.
I was expecting that 2007 Excel vesrion would have the best
possible
protection features.
.