I downloaded an excel file having a few very interesting macros attached.
The problem was that the VBA project was password protected. So I used the
"Hex method" for replacing the password, but when I try to access the VBA
project, instead of dialog box for password input, I receive the message
"Project is unviewable". 2 additional comments:
- the file is not shared;
- I don't know in what version of excel the file was created (I use Office
2003), but I don't think is relevant because before "Hex method" when I tried
to access the VBA project a dialog box opened (so no "Project is unviewable"
message).
Thanking in advance for any help,
Bogdan
You say you have downloaded a file, if project is locked it means the author
does not want to share the code that may have taken considerable time to
write. Is there a valid reason why you should not respect that.
Regards,
Peter T
"Bogdan" <Bog...@discussions.microsoft.com> wrote in message
news:A23316CF-6AAB-41F9...@microsoft.com...
Remind me what the 'Hex' method is with regard to viewing projects.
Mike
Regards,
Bogdan
PS The "Hex method" works with VBA project passwords ;)
Most probable you won't like the "Hex method" but...Basically, with a hex
editor you can easily replace the VBA Project password set up by another user
with your own password. It is really easy and efficient.
If you need further details, please let me know your email address as I do
not want to spread this method within community.
Regards,
Bogdan
BTW. The methods are freely available to anyone willing to look and have
been frequently published here and elsewhere. I don't intend to help you.
Perhaps you should contact the author.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"Bogdan" <Bog...@discussions.microsoft.com> wrote in message
news:AD1107D4-EC18-4460...@microsoft.com...
I'm very familiar with this method and your correct I don't like it. The
author put the protection there for a reason.
Mike
Happy New Year!
Bogdan
--
Jim
"Bogdan" <Bog...@discussions.microsoft.com> wrote in message
news:CBA59E7D-378E-4E49...@microsoft.com...
Regards,
Peter T
"Jim Rech" <jrr...@hotmail.com> wrote in message
news:%23b8at9o...@TK2MSFTNGP03.phx.gbl...
In either the original or the newly re-named workbook remove sharing to gain
access to your VBA project.
Gord Dibben MS Excel MVP
On Thu, 15 Jan 2009 12:34:06 -0800, BK523 <BK...@discussions.microsoft.com>
wrote:
I have excel addin created using excel 95 version. I couldnt open the macro
since its throwing "Project is unviewable" warning. Please help to view the
macro code using Hex method or any other way.You can write to my email id
a_su...@yahoo.co.in. Thanks in advance.
--sudha
How do I unlock this? When I double click on the projects, I'm not even
prompted for a password.
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***