I was asked that question today by my employer, even though he knows that I am only novice-to-intermidiate Excel user and my job isn't
VBA programing, so that's why my method maybe isn't very good and would like to get some opinion from veterans.
After a while I come up with this solution :
1. Main workbook with only one value in A1 : "PASSWORD" placed in for instance Windows folder.
2. Workbook that needs to be secured :
In one sheet connect one cell ("AA1000") with MAIN workbook
VBA checks if there is "PASSWORD" value in AA1000
If not : Select all sheets (except one empty, created for that purpose) DELETE, SAVE workbook (now empty)
3. VBA secured with password
I don't know, nothing better comes to mind.
Thanks for any advice.
VBA programing, so that's why my method maybe isn't very good and would like to get some opinion from veterans.
After a while I come up with this solution :
1. Main workbook with only one value in A1 : "PASSWORD" placed in for instance Windows folder.
2. Workbook that needs to be secured :
In one sheet connect one cell ("AA1000") with MAIN workbook
VBA checks if there is "PASSWORD" value in AA1000
If not : Select all sheets (except one empty, created for that purpose) DELETE, SAVE workbook (now empty)
3. VBA secured with password
I don't know, nothing better comes to mind.
Thanks for any advice.