+ Reply to Thread
Results 1 to 3 of 3

How do I select and display multiple entries?

  1. #1
    Registered User
    Join Date
    06-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    6

    How do I select and display multiple entries?

    I am creating a worksheet using excel 2007. In one of the columns I need to select 1 or more options and then the same should be displayed in the data cell. Can I do it using data validation? Otherwise, which control can I use & how do I use it to select and display multiple items from a list of items in a single data cell?
    Also, I would need to use it for further calculation/function. So please help me out with this.

    I've attached the excel worksheet for reference. I need to implement this in Column F.
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How do I select and display multiple entries?

    Hello sunny17,

    I have added a UserForm that displays the names of the testers on "Sheet1". Each selection in the ListBox has a checkbox next to it. Once the choices are made, the user clicks the "Enter" button. The names are then transferred to the active cell in column "F" as a comma separated string.

    There are several parts to the workbook: A UserForm, a module, and the Worksheet Selection Change event. The UserForm lets the user select the testers, the module contains the macro to display the UserForm, and the worksheet event validates the user is in column "F" before displaying the UserForm.. Here is the all the code that has been added to the attached workbook.

    UserForm Code
    Please Login or Register  to view this content.

    Sheet1 Worksheet Selection Change Event
    Please Login or Register  to view this content.

    Module1 Code
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: How do I select and display multiple entries?

    Hello Leith,
    Thanks a lot for the help. This completely solves my problem

    Regards,
    Sunny

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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