+ Reply to Thread
Results 1 to 2 of 2

Drop Down selection pulling a code

  1. #1
    Registered User
    Join Date
    03-10-2019
    Location
    Houston
    MS-Off Ver
    2010
    Posts
    1

    Drop Down selection pulling a code

    Hello everyone. I hope all is well.

    I have a need to use a drop down list that pulls and displays a code for that item selected. This would be similar to a grocery store having produce codes pulled from a produce drop-down. They will pick the produce name from a drop-down list and instead of displaying the produce they pick from the list it displays the code for that item.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Drop Down selection pulling a code

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. How to improve this code to add drop down selection to input box
    By Roco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2016, 07:40 PM
  2. [SOLVED] VBA Code based on Drop down selection
    By cslack1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-28-2015, 06:56 AM
  3. Replies: 7
    Last Post: 08-23-2013, 10:56 AM
  4. VBA Code to sort data upon selection of drop down box
    By vmaniac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2013, 11:29 AM
  5. Pulling values based on selection from drop down box
    By twarrix in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-24-2012, 11:14 AM
  6. VBA Code to run on selection of drop down menu
    By lealea1982 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2012, 06:51 AM
  7. Running code on a drop down selection change
    By Steve Haack in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2005, 12: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