Results 1 to 14 of 14

How to Mask Password in MsgBox ???

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    991

    How to Mask Password in MsgBox ???

    Hi Everyone,

    Need to mask the password in the Message Box popup... unable to find good examples...


    Sub show_ribbon()
    
       ' Select the range of cells on the active worksheet.
    Dim pw As String
    pw = InputBox("Please enter password")
    If pw <> "Password" Then
        MsgBox "Invalid password"
        Exit Sub
    Else
    
    Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"", true)"
    
    End If
    End Sub
    Any Thoughts???

    Best Regards,

    John
    Last edited by JJFletcher; 05-06-2016 at 09:42 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to capture MsgBox prompt to a string variable but ignore the MsgBox
    By BuglerDobbs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2015, 10:56 AM
  2. Automate Series Number With Adding Mark (.) or mark "-"
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2014, 12:38 PM
  3. Replies: 2
    Last Post: 10-28-2013, 03:52 PM
  4. [SOLVED] Problem with VBA Editor uses lower case on some lines (ex. msgbox instead of MsgBox)
    By stubbsj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2013, 06:59 PM
  5. Mark data from one sheet to another,and then mark dublicate
    By minotauro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2012, 07:58 AM
  6. Quatation mark or single mark in sql query
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2010, 06:03 PM
  7. MsgBox-center the message on a msgbox
    By CobraLAD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2007, 06:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1