+ Reply to Thread
Results 1 to 6 of 6

Adding/removing items - listbox1 and listbox2

  1. #1
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Adding/removing items - listbox1 and listbox2

    I have 2 listbox. Listbox1 has a list of reports with specific macro for each report. I have successfully made a code to add a selected report from Listbox1 to Listbox2 once the add button is pressed after the selection. I have also successfully made a code to delete a selected report added in Listbox2.

    Now my problem:
    1.) How can I do multiple selection in Listbox1 to add in Listbox2?
    2.) How can I do multiple selection in Listbox2 to remove multiple selected reports?
    3.) A report can only be added once. How do I make this limitation and prompt a message that the report has already been added?
    4.) Another problem I noticed is when the user remove the last report added in Listbox2 it will clear all previously added reports.
    5.) How do I transfer the list of reports added in Listbox2 to cells (say Sheet1)?

    Here is my code:

    Please Login or Register  to view this content.
    Cheers

  2. #2
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Adding/removing items - listbox1 and listbox2

    Question 1, 2 and 4 solved. I need answers for 3 and 5. Thanks

  3. #3
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Adding/removing items - listbox1 and listbox2

    silent Bump for limiting duplicates

  4. #4
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Adding/removing items - listbox1 and listbox2

    anyone please?

  5. #5
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Adding/removing items - listbox1 and listbox2

    no one? ....

  6. #6
    Registered User
    Join Date
    09-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Adding/removing items - listbox1 and listbox2

    silent bump... please..

+ 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] Transfer data from Userform1.listbox1 to userform2.listbox2
    By Vbadept in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2013, 08:28 AM
  2. [SOLVED] Populate Listbox2 based on Listbox1 selection
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 09:04 AM
  3. Populate Listbox2 from Listbox1 selection
    By Macro1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2010, 07:06 AM
  4. [SOLVED] ListBox2.AddItem ListBox1.Value becomes a String when being Integer?
    By SIGE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2005, 12:06 PM
  5. [SOLVED] Listbox1 to Listbox2?
    By Moretakitty in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-20-2005, 07:06 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