N
neowok
basically ive got vba code which enables and disables protection on th
sheets when a button is pressed so that the search can work whil
keeping the sheet protected from anyone changing it.
the problem is anyone can see the password being used by right clickin
the sheet tab and going to view code, or clicking the vb view cod
button.
in the vb editor you can go to properties and put "protection" on s
they need a password to view the vba code, which is what i want. th
problem now is that you cannot save the file without first opening th
vb editor and entering the bluddy password, if you try it gives a
error saying "you cannot save to this filetype when the vba project i
protected" and it tells you to enter the password to turn th
protection off before saving. The problem is it does this EVERY tim
you try to save the file, whether something has been changed in th
sheet or not.
There must surely be a 'sensible' way to prevent access to the vba cod
without having this rediculous prompt every single time you try to sav
the file
sheets when a button is pressed so that the search can work whil
keeping the sheet protected from anyone changing it.
the problem is anyone can see the password being used by right clickin
the sheet tab and going to view code, or clicking the vb view cod
button.
in the vb editor you can go to properties and put "protection" on s
they need a password to view the vba code, which is what i want. th
problem now is that you cannot save the file without first opening th
vb editor and entering the bluddy password, if you try it gives a
error saying "you cannot save to this filetype when the vba project i
protected" and it tells you to enter the password to turn th
protection off before saving. The problem is it does this EVERY tim
you try to save the file, whether something has been changed in th
sheet or not.
There must surely be a 'sensible' way to prevent access to the vba cod
without having this rediculous prompt every single time you try to sav
the file