Balitas
Mar 1st, 2004, 10:18 AM
Hi.
I create a little add-in to save Excel files with a password protection. With this add-in you save your files with read/open password (it save the passwords in a txt file). When you open the file with double click the add-in should open the file automatically (the add-in compare the passwords in the txt file and if the password is the same it open the file automatically). I use the AutoOpen event to make this action.
But I have a problem. When I make double click in the protected file the Excel open the file and immediately close it and the Excel request me the password again.
Does anybody know how could I fix it?
I create a little add-in to save Excel files with a password protection. With this add-in you save your files with read/open password (it save the passwords in a txt file). When you open the file with double click the add-in should open the file automatically (the add-in compare the passwords in the txt file and if the password is the same it open the file automatically). I use the AutoOpen event to make this action.
But I have a problem. When I make double click in the protected file the Excel open the file and immediately close it and the Excel request me the password again.
Does anybody know how could I fix it?