+ Reply to Thread
Results 1 to 8 of 8

Display listbox items in coulmn no2 bases on coulmn no 1

  1. #1
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2019
    Posts
    174

    Display listbox items in coulmn no2 bases on coulmn no 1

    Dear All,

    I have a userform of listbox , in this listbox i need a display Customers list in Listbox1.column no. 2 based on listbox1.column no.1 Area Name only

    following Listbox output result required using vba code.

    listbox-001-001.jpg


    Kindly help.

    Thank you all ..
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    Replace UserForm_Initialize event code with
    Please Login or Register  to view this content.
    Last edited by jindon; 01-06-2021 at 08:22 AM.

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    Another Option...If you don't mind your data sorted...Can always refresh back to original state...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2019
    Posts
    174

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    Perfectly work ..

    Thank you Jindon Sir for your very very very fast reply
    & also Thank you sintek sir both is working correctly


    small request sir, can is poosible for column no.1 Area name & column no. 2 party name is alphabet sorting..

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    Change to
    Please Login or Register  to view this content.
    Edit;
    Didn't think Col.1 as well... so fixed
    Last edited by jindon; 01-08-2021 at 03:39 AM.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    can is poosible for column no.1 Area name & column no. 2 party name is alphabet sorting.
    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by sintek; 01-08-2021 at 03:39 AM.

  7. #7
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2019
    Posts
    174

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    Excellent .......

    Thank you jindon Sir & Sintek sir..
    Thank you very much

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Display listbox items in coulmn no2 bases on coulmn no 1

    .........................
    Thanks.png

+ 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. Sort by 1 Coulmn
    By GCLIFTON in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2017, 07:24 AM
  2. enter data in coulmn the today date appear in other coulmn and doesn't change
    By sterio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2015, 04:13 PM
  3. Coulmn and Row comparison
    By Mclaassen8 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-07-2013, 05:34 AM
  4. Compare two coulmn
    By naflas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-24-2010, 09:47 PM
  5. Create a coulmn that always has the Formula
    By John Fletcher in forum Excel General
    Replies: 5
    Last Post: 10-30-2007, 09:06 AM
  6. Create a coulmn that always has the Formula
    By John Fletcher in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-30-2007, 12:04 AM
  7. How to do two way lookup for more than 400 row & Coulmn?
    By shital shah in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-06-2005, 08:06 AM

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