+ Reply to Thread
Results 1 to 4 of 4

Duplicate items in Listbox to populate in textbox and change

  1. #1
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Duplicate items in Listbox to populate in textbox and change

    Hi Gurus,

    I have a Userform with Listbox,Textbox,Combobox and Commandbutton

    In Sheet1, I have Data from A-F.

    The below code display the Columns A, B and C in Listbox which is in 'WAITING FOR APPROVAL' status only.

    Please Login or Register  to view this content.
    The below code display Column A (depends on the user when he/she double click the item) in textbox1.

    Please Login or Register  to view this content.
    When the user chose the number, the commandbutton should be perform to change the status (items in Combobox1 and which is in Column F in the sheet) of that number. Now, my problem is, sometimes there are duplicate number in Column A, i just want, when that number has a duplicate and when i change the status of that number, i want to change the status of all duplicate numbers.

    I've attached my file.
    I've stuck here for almost 3 days

    Thanks in advance Gurus!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Duplicate items in Listbox to populate in textbox and change

    Hi puuts (again),

    Not sure how Col. A can have duplicates when it's an incremental formula, thought this will do the job in any case:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Duplicate items in Listbox to populate in textbox and change

    Woohooooooooooo!!!

    I've tried it and IT WORKS!!!!!!!!!!

    I will now call you Robert My Savior! (bow head)

    THANK YOU SO MUCH ROBERT!!!!!!!!!

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Duplicate items in Listbox to populate in textbox and change

    will now call you Robert My Savior! (bow head)
    That's a worry

    Thanks for the feedback and marking the thread as solved.

    Regards,

    Robert

+ 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] Need to populate data in listbox based on textbox value change
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-20-2014, 07:10 AM
  2. Textbox to show values when clicked items on listbox
    By Benjamin2008 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2013, 07:02 PM
  3. Listbox, Need to change number of items in List (not the items)
    By Kalithro in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 09:23 PM
  4. [SOLVED] populate userform listbox from textbox input
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-05-2013, 10:05 AM
  5. Remove items from a listbox as you type in a textbox
    By Bishonen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2013, 04:10 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