I am trying to protect an excel file. It contains data in hidden tabs that I do not want shared.
I know that its fairly easy to unlock an excel file that has been protected with a few lines of code.
I had an idea but needed help to know if it is possible to do it.
Is there a piece of code that can be written to state that if a password is entered correctly or a file is unlocked then a a number of formulas or sheets will be deleted?
(I know the dangers of this but is there way?)
Thanks!
I know that its fairly easy to unlock an excel file that has been protected with a few lines of code.
I had an idea but needed help to know if it is possible to do it.
Is there a piece of code that can be written to state that if a password is entered correctly or a file is unlocked then a a number of formulas or sheets will be deleted?
(I know the dangers of this but is there way?)
Thanks!