+ Reply to Thread
Results 1 to 2 of 2

auto populating off of username

  1. #1
    Registered User
    Join Date
    05-06-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    42

    auto populating off of username

    I have just had the problem of autopopulating the user name in one of my user forms off of a log in screen. My next question for guidance is, if I have a user name that represents the owner of a distributorship, then is there a way to populate the distributorship name, and address information just based on the user name entered? I figure vlookup is the way to go, but I am not sure how to use it, I know vlookup should be easy to use and if I can't I shouldn't be using vb, but I have a solid working program but do not know how to use vlookup for this instance.

    Any help would be greatly appreciated.

    I will attach my workbook for your reference.

    logi in: tester
    password: test01

    Programmers access password: 1234
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: auto populating off of username

    I would use the .Find method in VBA, there's lots of examples here and the VBA Help file example is good.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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