View Single Post
  #17   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default VBA password

Editing a binary in text mode will probably lead to corruption, as you have
found.
Basically, you can't bypass security like this, unless your understand more
about the Excel File Format.
Get the password from the author and enter it correctly.

NickHK

<abelard wrote in message ...
Hi

I have used maxedit to change as per list below

CMG=....
DPB=...
GC=...

and i got the below errors

An error occured initialising the VBA libraries (2)

icrosoft Office Excel File Repair Log

Errors were detected in file 'C:\Documents and Settings\user\Desktop\lby

E2004.xls'
The following is a list of repairs:

Lost Visual Basic project.
Lost ActiveX controls.

pls advise

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com