+ Reply to Thread
Results 1 to 5 of 5

Retrieve SELECTED values from multi criteria list box into a cell

  1. #1
    Forum Contributor
    Join Date
    01-04-2016
    Location
    Newcastle
    MS-Off Ver
    2016
    Posts
    107

    Retrieve SELECTED values from multi criteria list box into a cell

    Hi,

    I want to retrieve the selected criteria from my multi-selection list box and put it into a excel cell. I also want this to automatically update when select new criteria.

    Thanks,
    Liam
    Attached Files Attached Files
    Last edited by liamfrancis2013; 05-26-2017 at 05:41 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Retrieve SELECTED values from multi criteria list box into a cell

    Hi,

    THis code will do as you require.
    Please Login or Register  to view this content.
    Note you'll have to assign the macro to the list box to make it run whenever the selection is changed.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Contributor
    Join Date
    01-04-2016
    Location
    Newcastle
    MS-Off Ver
    2016
    Posts
    107

    Re: Retrieve SELECTED values from multi criteria list box into a cell

    That seems great, although when no criteria is selected i get this message:

    1.png

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Retrieve SELECTED values from multi criteria list box into a cell

    My mistake, it was trying to reduce the length of a null string by 1 character. This should fix that...

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-04-2016
    Location
    Newcastle
    MS-Off Ver
    2016
    Posts
    107

    Re: Retrieve SELECTED values from multi criteria list box into a cell

    Spot on i've gave you rep

+ 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. [SOLVED] Identification of selected items in multi-user List Box to call different macros
    By seleseped in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-18-2016, 09:46 AM
  2. Replies: 2
    Last Post: 04-08-2014, 01:01 PM
  3. How to retrieve the value of the active selected cell
    By MachtiSonni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2013, 03:36 PM
  4. transfering multi selected list box in userform to one cell in worksheet
    By isatrist in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2011, 12:35 AM
  5. Retrieve the the value from list that meets criteria
    By ABSTRAKTUS in forum Excel General
    Replies: 12
    Last Post: 04-17-2011, 06:02 PM
  6. How To retrieve selected item value from Excel DropDown List using VBA
    By ltdtep in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2009, 11:02 AM
  7. [SOLVED] Last list item selected in a Multi-Select list box?
    By Brian in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2005, 05:15 PM

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