If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Ask UserName and Password on Excel VB Programming

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-04, 12:59
Siboneis Siboneis is offline
Registered User
 
Join Date: Nov 2004
Posts: 9
Question Ask UserName and Password on Excel VB Programming

Hi Everybody,

I'm developing a small application on Excel VB ( using Excell Spreasheets ), and I would like to add some Security, but I have a problem when I ask for the Password of the user, I can't hide what the user is writting down.
Also Im using the following instructions to ask the Username :

User = InputBox("User Name", "Security", , 7340, 5140)

I don't know if there is a better way to do it, if so, I'll really appreciate your Help.

Best Regards
Reply With Quote
  #2 (permalink)  
Old 11-17-04, 14:35
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
For a little more complicated approach, I developed a spreadsheet that asked for UserID, and then checked that against a named range. If the UserID matched, then it allowed another login Inputbox for password, again checking to make sure that it matches.

Not sure if this is what you desire, but take a look at this thread.

UserID and Password Access to Excel
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 11-18-04, 09:22
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
I don't think you can do it with the Inputbox. You would have to create a UserForm (to do the same thing), then change the Properties in the VBE window.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #4 (permalink)  
Old 11-18-04, 12:45
yassermh yassermh is offline
Registered User
 
Join Date: Nov 2004
Posts: 3
See the example attached >
Attached Files
File Type: zip PasswordBook.zip (10.7 KB, 169 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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