Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
privacy warning hitesh New Users to Excel 4 January 18th 10 03:58 AM
Privacy warning in Excel 2007 Sören_Marodören Excel Programming 1 April 2nd 09 05:44 PM
Privacy Warning every time I save GeorgeJ Excel Discussion (Misc queries) 0 January 19th 09 06:06 PM
Protect sheet but allow user paste Bonsai Bill Excel Programming 0 September 3rd 08 08:29 PM
Privacy Warning: when trying to save ExcelMonkey Excel Discussion (Misc queries) 0 June 12th 08 05:01 PM


All times are GMT +1. The time now is 11:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"