Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default login userform with change password

On 22 Jun., 00:21, "tkraju via OfficeKB.com" <u16627@uwe wrote:
To open userform1, I created userform2(Login userform) with 2 text boxes
(textbox1-password entry,textbox2-new password),3 command buttons,(Login,
ChangePassword,Quit).No where in w/book the password is stored.when
Loginbutton clicked only textbox1 be visible asking for password validation,
if password is correct,open userform1.If not correct another 2 attempts try,
else close the sub.If ChangePassword button cliks,textbox2 will be visible,
and compares , old password in textbox1 *with new pass word in textbox2,
prompting message("password changed," if old pass word is correct, else retry
for 2 attempts and exit sub.
I am unable to change that pword variable,whenever a new password is supplied
to textbox2.

--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-programming/200806/1


Hi

Store the password in an unused worksheet, and hide the sheet using:

Sheets("Sheet3").Visible = xlVeryHidden

This hides the sheet so that the only way for you to make it visible
again is by setting this property to True (the user cannot make the
object visible).

Regards,
Per
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
username and password when login Ranjit kurian Excel Programming 1 May 23rd 08 10:05 AM
Username and password login. Moh Excel Programming 10 December 21st 07 03:36 PM
Input login ID & password in IE trader Excel Programming 1 November 5th 06 08:27 AM
web query w/login and password Fun Kid Excel Programming 15 April 29th 04 04:43 AM
Windows Login Password john.petty Excel Programming 1 September 15th 03 11:22 PM


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