Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
To protect user's privacy
I have a number of users that have to work on the same excel workbook.
Each user should have access to its own worksheet and be denied to *see* other users data. I managed to selectively show and hide worksheets by a form asking for usn+pw in the ThisWorkbook.Workbook_Open() event. Now I want to deny a smart user to access other user's data by VBA commands in the immediate window, so I need to deny access to VB Editor. How can I temporary disable VB Editor? Thanks in advance, David |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
To protect user's privacy
I have a number of users that have to work on the same excel
workbook. Each user should have access to its own worksheet and be denied to *see* other users data. I managed to selectively show and hide worksheets by a form asking for usn+pw in the ThisWorkbook.Workbook_Open() event. Now I want to deny a smart user to access other user's data by VBA commands in the immediate window, so I need to deny access to VB Editor. How can I temporary disable VB Editor? Thanks in advance, David To disable access to the VBE requires disabling several keys and menus. It might be wiser to use Environ("username") as a safety mechanism so only the logged in user can access their worksheet. Require a password to make sheets visible, where the password must match the username. -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
privacy warning | New Users to Excel | |||
Privacy warning in Excel 2007 | Excel Programming | |||
Privacy Warning every time I save | Excel Discussion (Misc queries) | |||
Protect sheet but allow user paste | Excel Programming | |||
Privacy Warning: when trying to save | Excel Discussion (Misc queries) |