+ Reply to Thread
Results 1 to 4 of 4

Problem whil e Auto Populate

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    Mumbai
    MS-Off Ver
    MS Office 10
    Posts
    9

    Problem whil e Auto Populate

    Dear Sir,

    I have prepared Excel sheet wherein 1 userform for Login to Excel sheet and 2 userform to calculation.

    If Username and password mentioned wrongly then it directly goes to Userform2 which i dont want.

    If username and password wrong then next userform should not open.

    I am not able to fix this problem.

    Can you please help me.

    Attached sheet have usename and password as below

    Username - myuser
    Password - mypassword

    Regards,
    Mangesh Shinde
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem whil e Auto Populate

    Mangesh,
    I added the code below to your code for UserForm1 after the MsgBox "You Entered wrong password/username" line
    Please Login or Register  to view this content.
    So now your code becomes
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    05-07-2015
    Location
    Mumbai
    MS-Off Ver
    MS Office 10
    Posts
    9

    Re: Problem whil e Auto Populate

    How much brilliant you are.

    Again Thanks alot for your constant support.

    Regards,
    Mangesh.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem whil e Auto Populate

    You are welcome

+ 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. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  2. [SOLVED] Unlock cells in worksheet whil protecting the name of the cell
    By schzuki in forum Excel General
    Replies: 8
    Last Post: 07-18-2013, 09:37 AM
  3. problem using .formula to auto copy and populate the data
    By viva2kh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2012, 08:23 AM
  4. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  5. Display a message whil eprocessing
    By broogle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-27-2005, 11:06 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