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: 1
Default password protection


I have used the following code to set up a simple inputbox for a user to
enter a password in to access a report

Dim PW As String

PW = InputBox("Please enter the password")
If PW = "THEPASSWORD" Then
Else
MsgBox "That's not correct"
Cancel = True
Exit Sub
End If

How can I add into this code something so that the inputbox uses the
input mask for a password so it shows on screen as *****?


--
Neil_Pattison
------------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...o&userid=27696
View this thread: http://www.excelforum.com/showthread...hreadid=472890

 
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
Password protection in macro ( Anybody can view my password in VB Sherees Excel Discussion (Misc queries) 2 January 24th 10 10:05 PM
Excel Data Protection- AKA: Sheet/Macro Password Protection Mushman(Woof!) Setting up and Configuration of Excel 0 December 29th 09 06:50 AM
Password Protection ladytiger7481 Excel Discussion (Misc queries) 6 August 20th 09 09:51 PM
Password Protection JamesD Excel Discussion (Misc queries) 1 April 7th 05 02:36 PM
password protection bruce forster Excel Programming 1 May 13th 04 05:32 PM


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