+ Reply to Thread
Results 1 to 5 of 5

Autocompleting Forms

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    USA
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    16

    Unhappy Autocompleting Forms

    Hello,

    I need to build a macro that will complete copying a set of data from one workbook to the next based upon the first entry into the new sheet.

    For example, say I have contact info about person A in workbook 1. Once I enter the name or ID # of person A into workbook 2, I would like the phone number, address, etc. of person A to appear.

    Thanks for any help!

  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: Autocompleting Forms

    Use VLOOKUP
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    12-14-2010
    Location
    USA
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    16

    Re: Autocompleting Forms

    Could you explain a bit further how VLOOKUP works? syntax, etc.

  4. #4
    Registered User
    Join Date
    12-14-2010
    Location
    USA
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    16

    Re: Autocompleting Forms

    I need a command that isn't one case limited. I can't use a command that only applies to one specific condition.
    What would be ideal would be something that is equivalent to:

    if A1 = B###, then A2 = [workbook1]sheet1!B$2$ AND A3 = [workbook1]sheet1!B$3$ AND A3 = [workbook1]sheet1!B$4$
    Last edited by DJRockit; 12-14-2010 at 04:37 PM.

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

    Re: Autocompleting Forms

    See this Use the Function Wizard to make it easier to slect the table in the other workbook

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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