+ Reply to Thread
Results 1 to 3 of 3

Creating a listbox/droplist with multiple selections that can be entered in a paragraph

  1. #1
    Registered User
    Join Date
    04-18-2015
    Location
    uk
    MS-Off Ver
    2013
    Posts
    35

    Creating a listbox/droplist with multiple selections that can be entered in a paragraph

    Hi everyone,

    As requested by helpful Aardigspook, I have created a new thread in the hope that someone can help me. Here is the old thread:-

    http://www.excelforum.com/excel-gene...ml#post4181208

    I want to create a "custom paragraph" in which I can have cell values entered at different locations. Aardigspook has helped me create just that in the previous thread. But now I want to again do the same thing, but instead of a single cell value, I want to have a listbox/droplist where I can select multiple choices and these choices would then appear within the paragraph.


    As you will see from previous thread I'm using a paragraph from microsoft's website and I want to continue using this as an example for the sake of continuity.....


    okay, so lets use the same microsoft paragraph as an example and lets say that whatever multiple selections I choose from the list/dropdown box, they should appear where currently &H1& is located (near the end of paragraph).

    =A1&" has consistently transformed the way that people live, work, play and connect through great "&B1&". We are inspired every day by the genuine belief that we can "&C1&" the "&D1&" for the better. Here on our UK website you'll find out more about how we are driving advances in "&E1&", developing new ways for people to "&F1&" with technology at home, at work and on the move, while transforming "&G1&" and public services and supporting the UK "&H1&"."

    Just for the sake of an example, I want H1 cell to have multiple choices of days of the week. But my ONLY selections are Tue and Thur from that list, which must now appear at the end of the paragraph:-

    listboxdaysselect06.png

    Hence, the end result (even though the sentence sounds silly, lol!) should say:-

    "with technology at home, at work and on the move, while transforming education and public services and supporting the UK Tuesday Thursday.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Creating a listbox/droplist with multiple selections that can be entered in a paragrap

    I would cycle through the listbox finding the Selected items and append them to a single variable, then at the end replace the &H1& with the variable

    Please Login or Register  to view this content.
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    04-18-2015
    Location
    uk
    MS-Off Ver
    2013
    Posts
    35

    Re: Creating a listbox/droplist with multiple selections that can be entered in a paragrap

    Forgive me pywhitfield, but that is too complicated for me and I'd need it explained in more basic layman's terms.

+ 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. ListBox with Multiple Selections that shows only selected items
    By aarodn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2013, 01:48 PM
  2. [SOLVED] Multiple selections from listbox into separate cells in external Excel file
    By mrapes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2012, 08:22 AM
  3. Multiple selections in listbox
    By Jakes in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-20-2012, 04:46 AM
  4. Reading multiple user selections from a listbox
    By davi2188 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2012, 06:17 PM
  5. How to Concat Multiple Listbox Selections?
    By AccessGeek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2011, 11:30 AM
  6. ListBox with multiple selections
    By Tony Bender in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2009, 04:01 PM
  7. Multiple selections from a listbox
    By yzer19 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2007, 01:05 PM
  8. [SOLVED] How do I retrieve multiple selections from a forms listbox?
    By Wheeler in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2005, 08:07 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