+ Reply to Thread
Results 1 to 3 of 3

populate A2 with choice from array

  1. #1
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    populate A2 with choice from array

    I would like to be able to populate A2 with a choice from a list or an array
    like this

    Please Login or Register  to view this content.

    Probable use a var with inputbox like 1 for "Turffontein", 2 for "Hastings" etc etc
    I am not sure how to get around this

    Any help will be much appreciated
    Regards
    Graham

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: populate A2 with choice from array

    Try something like this. Note: an input box can only display five line of text. If your list is longer, consider making a UserForm with a Listbox.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: populate A2 with choice from array

    Thank you AlphaFrog for your effort, this works great
    Much Appreciated
    Graham

+ 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. Replies: 3
    Last Post: 09-08-2016, 03:27 AM
  2. [SOLVED] Populate Cell Based on Data Validation Choice
    By Karen615 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2014, 02:34 PM
  3. Populate spreadsheet based on choice of data validation list
    By Thanks4helping in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2014, 08:38 PM
  4. SOLVED!!! Drop down box choice to populate next 2 cells.
    By bwarner1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-16-2014, 02:20 PM
  5. Replies: 7
    Last Post: 06-06-2013, 02:05 PM
  6. [SOLVED] populate combo box choice in another worksheet
    By tiger10012 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2012, 03:58 PM
  7. [SOLVED] Print array based on menu choice
    By David in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-12-2005, 07:05 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