+ Reply to Thread
Results 1 to 3 of 3

Code to verify password on login

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Code to verify password on login

    I found some username and password login code that I am editing for my needs, but I am having some trouble with it. I keep getting run time error '448': Named argument not found on the following line:
    MatchCase:=False, SearchFormat:=False)

    Code:
    Please Login or Register  to view this content.
    I have also attached my workbook.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Code to verify password on login

    I don't see the error there but there is one on Sheets("Users").Range("G1").Value = Usernames.Value . You have an s on usernames


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Code to verify password on login

    Thank you Tony, I fixed that, but it still didn't work. I removed SearchFormat:=False) and then it started working. I dont know how important that code is.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Username/Password Login userform code
    By Nitefox in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2014, 02:43 PM
  2. username and password login
    By dc123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-17-2013, 08:38 AM
  3. Ho to set Password Login for Workbook
    By AGrace in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2012, 02:11 PM
  4. How to check/verify password of protected sheet is what you think it is
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2012, 02:31 PM
  5. [SOLVED] How do I verify the password date of an excel workbook
    By develcom in forum Excel General
    Replies: 0
    Last Post: 06-12-2006, 07:20 PM

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