LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Restricting access to data

I have a workbook with job satisfaction data for several units in
a large organization. The data is in a hidden sheet. All
respondents enter a code designating which unit they belong to.

The workbook user can view results for different units by entering
the right code into a "Filter" cell. The codes are hierarchical -
"1" produces total results, "1a" produces results for the "1a"
division, "1a1" and "1a2" produce results for two units in the
"1a" division, etc.

I want to distribute the workbook to managers at all levels, while
restricting them from viewing results from units they don't have
authority over. That is, the manager of "1a1" should be able to
enter codes like "1a1", "1a1a" or "1a1b2", but not "1b", "1" or
anything not beginning with his own code.

I kind of think it should be possible for me to enter the
authorized code in a password protected cell, and have the
"Filter" cell test the code entered against the code in that cell
before allowing it - but I don't have any idea how this could be
accomplished.

By the way, the "Filter" cell already has a validation rule
refusing any code containing a "?", as this represents a unit with
less than 5 employees. This validation rule runs like this -
translated from Norwegian:

=IF(ISERROR(FIND("?";Filter;2)<1);FIND("1";Filter; 1)0;FIND
("?";Filter;2)<1)

Would this really be possible??
 
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
PivotTables: Restricting access to Report Filter Pages sheet data Ted M H Excel Discussion (Misc queries) 0 March 28th 08 11:51 PM
restricting access to a worksheet? C.East Excel Discussion (Misc queries) 2 April 5th 06 10:02 PM
Restricting access to OLAP cube data TonyBall Excel Programming 1 April 26th 04 03:09 PM
Restricting access to workbook Jeff Excel Programming 1 December 17th 03 05:14 PM
restricting access to workbook pam Excel Programming 1 December 12th 03 08:31 PM


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

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

About Us

"It's about Microsoft Excel"