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: 206
Default a little more secure login

hi all,

i have my logins / pass and other user information (pseudo permissions) on a
sheet that will always be hidden to the user. (thought about an external file
- but decided against it, also thought about authenticating with the domain
server, but a little overkill)

i wanted to use the workbook_open event to ask for the user and password
upon open. so far this works, but i didn't want to have the passwords shown
in the code, and wanted to 'hide' where they're coming from a little better.

is there a way to define a constant range (in another module), so that i can
use that range in the workbook_open event, without specifically stating where
it is coming from? (i was thinking to use the vlookup based on
environ("UserName") to check the password agains that entered by the user)

ie i don't want to use something like

with sheets("misc")
set x =.range("logins")
end with

in the workbook_open code

any suggestions or anyone have a better idea on how to go about this?

tia!

J
 
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
Secure sheets Pierre[_15_] Excel Programming 1 December 30th 04 02:47 PM
Building a secure add-in Jeff[_31_] Excel Programming 2 June 4th 04 08:11 AM
Secure Workbook SuperJas Excel Programming 2 December 15th 03 05:18 AM
secure your worsheet using vba solo_razor[_34_] Excel Programming 1 November 17th 03 02:03 PM
secure a sheet solo_razor[_25_] Excel Programming 1 November 4th 03 01:21 PM


All times are GMT +1. The time now is 07:50 PM.

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"