+ Reply to Thread
Results 1 to 4 of 4

Is it possible to auto-fill cells based on a validation?

  1. #1
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Is it possible to auto-fill cells based on a validation?

    Column A contains the names of employees at my company. I have a validation set up on Column A so that only current employees can be added to that column (there is a list of employees in a hidden Column J). Ideally, I would like for the cells to auto-fill as I begin enterring names of the employee. Unfortunately, it does not do this. Is there anyway to force this to happen?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    You need to use a combo box for auto complete to work

    http://www.contextures.on.ca/xlDataVal10.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Thanks for your help. I tested the combo box setup and it did work.

    I did have one problem with it, however. After entering part of the name, autocomplete recognizes what it should be. But, when I hit enter or tab, it doesnt move on to the next cell unless I actually click into a different cell. Is there anyway around this?

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    On the same link take a look at

    'Optional code to move to next cell if Tab or Enter are pressed
    VBA Noob

+ 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