+ Reply to Thread
Results 1 to 5 of 5

List Box with Prompt Function

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    8

    List Box with Prompt Function

    Hi All,

    Please find attached.

    ListBox.xls

    How do I make the drop down box work in the way that when I type lets say "D" in the field, it will automatically go to the first word with the letter "D".

    It should also support multiple letter such as when I input "DUR", it should go to the word "Durian" in the list.

    Any help is greatly appreciated.

    Thanks!

    Regards,
    Chris

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: List Box with Prompt Function

    You can use a combobox instead of list validation, see attached. The combobox is a control rather than a cell, but it is linked to the cell where it is located so you can refer to its contents by referring to B5.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-29-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: List Box with Prompt Function

    Hi,

    Thanks for the reply.

    I added a control box in but it isn't performing as what you did.

    Can you guide me on how to create one?

    Regards,
    Chris
    ListBox (2).xls

  4. #4
    Registered User
    Join Date
    09-09-2011
    Location
    kuching, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: List Box with Prompt Function

    Hi Christan,

    You should create a combo box with active x control to get the result you want. Once created, use design mode and chose propertise. Find column ListFillRange to enter the list range. Example for your file will be $D$1:$D$42.

    Hope this help

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: List Box with Prompt Function

    To elaborate, there are two families of controls: Form controls and ActiveX controls. To add a control to a worksheet, you need the Controls Toolbar visible. Right-click somewhere on the menu bar to bring up a list of available toolbars. It has been a while since I've had Excel 2003 so I don't remember the exact menu sequence. On the Controls Toolbar, click on the "Design Mode" icon. Then make sure you are selecting the ActiveX combobox, not the Forms combobox.

    Then right-click the control, and select Properties from the menu. As nickh1981 says, then set the property called ListFillRange with the list of values. Then set LinkedCell with the cell where you would like the user's selected value to go.

+ 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. Macro that checks a list, and gives user prompt for action
    By jayherring86 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-30-2013, 09:12 AM
  2. [SOLVED] list of prompt action commands
    By slxia1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2012, 03:52 AM
  3. prompt from a drop down list
    By gideonjav in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-07-2010, 07:58 AM
  4. [SOLVED] Bypass prompt to open XML file as XML list?
    By Steve Vincent in forum Excel General
    Replies: 0
    Last Post: 03-13-2006, 06:10 PM
  5. [SOLVED] Is there a way to prompt a list in a function?
    By Victor B of TDC in forum Excel General
    Replies: 0
    Last Post: 02-09-2006, 07:50 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