Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 516
Default Storing and Accessing Data

I'm in the process of constructing a workbook where only certain people will
have access to certain worksheets within the workbook. Depending on the
user, I want some worksheets to be unviewable.

The best way I've found to implement this idea is to hide the various
worksheets (Format - Sheet - Hide) and then password protect the workbook.
Then, I've created macro functions that prompts the user for a password.
(This is not the same password used to protect the workbook.) When the
password is entered, the function unprotects the workbook, unhides the target
worksheet, and protects the workbook again - so that the target worksheet can
be viewed.

This seems to work simply enough. My problem is that I'm not sure how to
store the passwords. This workbook will need to be accessed by as many as 20
different people, each of whom will have access to their own worksheet
requiring it's own unique password. Because of the multiple passwords, I
need a way to store all of the password information and pull the data when a
user enters a password (Without the password being visible anywhere in the
workbook).

Any help or suggestions would be greatly appreciated. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Storing and Accessing Data

I wrote a thread a few days ago that was titled
"one workbook, multiple users". It's not exactly the
same situation as yours, but it involved multiple people
reading and writing to the same workbook. Here
are two responses that I received:

* "Just don't do it. Excel file sharing for a purpose like this just
creates
more headaches than it's worth."
If it's important to use excel instead of a database to collect data from
users, then create a template file, give them each a copy, and have them
store the copies in a common location with a consistent naming
convention.
Then use VBA to automate the collection of the data from their separate
files."

* "Just because somebody tells you to jump off a cliff doesn't mean that
you should do it! You asked for recommendations and we gave you our
recommendations."

So.....the whole idea of multiple users accessing the same workbook might
not be a feasible idea. I'm determined to find a workaround to this
limitation,
but for now I'm assuming that multi-user workbooks are too much trouble
than they are worth.

8(


"Matt" wrote in message
...
I'm in the process of constructing a workbook where only certain people
will
have access to certain worksheets within the workbook. Depending on the
user, I want some worksheets to be unviewable.

The best way I've found to implement this idea is to hide the various
worksheets (Format - Sheet - Hide) and then password protect the
workbook.
Then, I've created macro functions that prompts the user for a password.
(This is not the same password used to protect the workbook.) When the
password is entered, the function unprotects the workbook, unhides the
target
worksheet, and protects the workbook again - so that the target worksheet
can
be viewed.

This seems to work simply enough. My problem is that I'm not sure how to
store the passwords. This workbook will need to be accessed by as many as
20
different people, each of whom will have access to their own worksheet
requiring it's own unique password. Because of the multiple passwords, I
need a way to store all of the password information and pull the data when
a
user enters a password (Without the password being visible anywhere in the
workbook).

Any help or suggestions would be greatly appreciated. Thank you.


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
VBA storing and accessing larger texts within spread sheet Benedikt Excel Programming 2 April 2nd 09 07:09 PM
Storing data in an add-in for use later Bythsx-Addagio[_2_] Excel Programming 3 March 5th 09 07:34 PM
Help with storing data J Excel Programming 0 June 30th 06 06:02 PM
storing data jimbo_jones[_7_] Excel Programming 3 September 21st 05 04:20 PM
Storing data Bob Mckenzie New Users to Excel 3 July 30th 05 07:33 PM


All times are GMT +1. The time now is 06:17 PM.

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"