AH HA! I did what you told me and it works! Yeah, I know protection is not
robust.. but it's a whole lot better than nothing!
I am totally new to macros, so let me ask another question...
When I "record" a macro - I am storing it in my Personal Macro worksheet -
(one of the choices). I am doing this instead of attaching the macro to the
file I'm working on, so that when I send this file on email, and someone else
opens it, a) they don't get those pesky security alerts, and 2) they won't be
able to open vba and read my password. IS THIS LOGIC CORRECT?
Thanks for sharing your knowledge!
"JE McGimpsey" wrote:
Did you protect the sheets with a password? Like
Sheets("Sheet1").Protect Password:="drowssap"
If not, then the sheet is protected without a password, and you won't be
prompted when you unprotect.
Protecting without a password is still useful - after all, the only
thing protecting actually does is prevent the casual user from screwing
up the worksheet. Anyone with the ability to find these newsgroups can
easily discover a method to bypass worksheet protection:
http://www.mcgimpsey.com/excel/removepwords.html
In article ,
Stilla wrote:
I thought I was being clever in recording a macro to protect workbooks with a
password, and then another to unprotect, using ctrl+ a diff letter everytime.
OK, it works, but now to unprotect I'm not even being asked for password!!
This happens whether I use the macro or the "unprotect" feature from the
menu. As soon as I choose "unprotect" - VOILA! the sheet is unprotected!
Obviously, it sort of defeats the purpose of protecting in the first place,
if anyone can unprotect.
Is this happening, because I'm doing it on the same PC where my macro is
stored?
Help..
Thanks