Prev Previous Post   Next Post Next
  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

The way I do this is to disable the Enter Password button unless there's
text in both the username and password textboxes.

For instance, you can use each textbox's _Change() event to check the
length of the text in each textbox. If the (trimmed) length is non-zero
in both, enable the button. If not, disable it.


In article ,
keithl816
wrote:

The problem I'm having is when the dialoge box pops up prompting for a
“username and password”, if you do not enter anything and just click
the “enter password“ button an error pops up. If you choose to click
the end button in the open dialogue box instead of debug it continues
without closing, exposing the password and userlog.



 
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
Import Data Keeps asking for Password Dominator Excel Discussion (Misc queries) 0 June 5th 05 11:25 PM
Password Loop question. Andy Tallent Excel Discussion (Misc queries) 1 April 8th 05 01:16 PM
I forgot my password for an excel workbook Hank Roberts (at the office) Excel Discussion (Misc queries) 1 March 8th 05 09:59 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM
Password cannot be removed twa14 Excel Discussion (Misc queries) 3 December 14th 04 11:27 AM


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