Filtered data in Listbox based on Option buttons EXCEL VBA

saucy_spider

New Member
Joined
May 16, 2017
Messages
4
Hello every one,
I don't know about VBA or programming or any other language, I usually try to find solutions on the internet which fulfil my requirements and I use those solutions but this time I didn't find any thus I am posting here. I would appreciate and would thankful if someone please help me out with the code which does my required work.
I have a simple requirement, I have 18 columns sheet with 15 task status, 3 text boxes & 15 frames on form, each frame has 2 options for selection and a list to populate the result.Every task is identified by True or False

Requirements:

  1. What I need is same as applying a filter on each column's data based on the value selected in the frame by option button or text box input values.If nothing selected in the frames' options or if the text box is empty then filter will not be applied on that particular column
  2. I do not need all columns to be shown in the list box, a maximum of 5-6 will be enough for verifying & identification
Following are the example for scenarios

  1. If True is selected in Task5 Frame and all other option buttons are not selected, all text boxes are empty then the list must populate the data rows of all the customers having TRUE in column Task5
  2. If False isselected in Task15 Frame, Textbox1 has an input value of Customer1 then the list must populate the data rows of only Customer1 with False in Column Task15
I am using Office 2016, which comes preinstalled with the machine. I do not have access to advance or other Microsoft paid VBA controls.
attachment.php
 

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.
Cross posted http://www.vbaexpress.com/forum/sho...-in-Listbox-based-on-Option-buttons-EXCEL-VBA

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Thank for your guidance Fluff, as I am looking for the solution so i posted it on other forum as well, but i tried to elaborate with complete details as per the rule 13.
Now I have mentioned the links as well, thnx
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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