populating a listbox

boltjoa

Board Regular
Joined
Apr 29, 2009
Messages
89
Forgive me for being a novice on listboxes. Here's what I want to do. When a user clicks commandbutton1, I want a listbox to populate. The data being pulled is from sheet PNMs. However, I want to be specific. I'd like only the data populated if the text in column A is "Active" and I want all the corresponding data through column K shown. So, if row A2 says "Active", then I want B2, C2, D2, etc. etc. to show up on the row of the listbox. Does that make sense?

here's the final kicker. I'd like to then sort the data based on column B to show in the listbox from highest to lowest. Column B is a number format

thanks!!!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,215,733
Messages
6,126,541
Members
449,316
Latest member
sravya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top