View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson[_4_] Greg Wilson[_4_] is offline
external usenet poster
 
Posts: 218
Default Crack a VBA password?

Contact the former employee. She/he is legally obligated
to provide the password if the project was developed on
company time or was paid for by the company. I'd be
willing to have a crack at it if you can prove to me that
your company owns the code. However, I can't think of a
way to do that without describing the contents; e.g.
module names, Function names, a general description of a
procedure etc. You would presumably need the former
employee to do this - so why bother, just get the password.

Apparently by design, the VBA language does not access the
protection features of the VBA project most likely in
order to thwart password breaking. In other words, there
is no programmatic way to break VBA project protection
using the VBA language. A possible exception is by means
of the Sendkeys method.

In my experience, Sendkeys can be used successfully to
programmatically open a VBA project when the password is
known. However, when not known, using Sendkeys and
the "brute force" method will more likely cause Excel to
crash or, alternatively, will take forever. I personally
have never succeeded.

I know of an alternative method that, based on very
limited experience, is highly reliable. However, I'm not
willing to make this public.

Regards,
Greg



-----Original Message-----
Hey everyone,

I need to crack a VBA password that one of my coworkers

did a while
back. He is no longer with the firm, and the client has

come back to
change some of the numbers. Now we need to change some

code. Any
ideas? Thanks a lot guys.


---
Message posted from http://www.ExcelForum.com/

.