Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Passwords in EXCEL

I am creating groups and users, but I need a way to create
some passwords (and change if need be)for these users so
that they can access some of the functionality that I have
created in my workbook (i.e. email, routing, signatures,
etc.). Depending on the user (and group) some will have
access to all and others will only have access to
signatures and routings. Please Help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Passwords in EXCEL

John,

A general answer only. A fuller answer would depend on your requirements.
Set up a hidden sheet with three columns (Name, Password and UserLevel)
Present the user with a full screen form at start up. Disable the little X
Have the user input their name and their password (You can decide the
formats) on the form.
Check the password against the name. If it doesn't match, close excel.
If it matches, look up their userlevel to set what they get on their menu.
You could also set a global variable to be checked in each critical Sub to
see if the user is allowed in there.

Private Dosomething_click()
If gUserLevel <5 then
Msgbox ("You do not have authority to do this", vbOK)
Exit Sub
Else
Do something
etc., etc.
End Sub

This isn't foolproof, as anyone here will tell you that there are several
"Password Cracking" programs for excel available on the net. It all depends
on the level of security you need.

HTH
Henry

"john petty" wrote in message
...
I am creating groups and users, but I need a way to create
some passwords (and change if need be)for these users so
that they can access some of the functionality that I have
created in my workbook (i.e. email, routing, signatures,
etc.). Depending on the user (and group) some will have
access to all and others will only have access to
signatures and routings. Please Help.



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
excel passwords biff Excel Discussion (Misc queries) 8 January 5th 10 10:56 PM
Excel Passwords Sledge Excel Discussion (Misc queries) 0 January 29th 09 04:35 AM
Excel passwords. edwgolz Excel Discussion (Misc queries) 2 October 25th 08 03:24 AM
passwords for excel David Harrison Excel Discussion (Misc queries) 1 December 14th 06 03:40 PM
Passwords in Excel mjlucas49 Excel Worksheet Functions 2 November 8th 06 09:18 PM


All times are GMT +1. The time now is 11:39 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"