Changing a row source

DasT

New Member
Joined
Sep 7, 2004
Messages
29
Hi all!

this one seems to have eluded me completely...

First off I have a form set up with two combo boxes and a table for each row source, one combo box which stays the same, however when the user makes a selection from the first combo box I want the functionality for the second combo box to change its row source, is this possible? if not is it possible via a button or something else?

Any help is appreciated
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Thanks for the help, however I'm stuck again...

I need to be able to take the result from the selection in the combobox and use it as criteria in a query which can then create a report...

I'm currently trying to figure it out myself, but any mor ehelp would be greatly appreciated

Cheers!
 
Upvote 0
1. Just open your form that the combobox exists in.
2. Open the query you want to assign criteria to.
3. RIght click on the criteria line under the field you want to filter on, and select build.
4. In the tree view, click on forms, loaded forms, your form and in the next box, double click on the combobox name.
5. Click on OK.
6. Save you query.

Your query, when run with the form open should now filter based on the combobox value.

HTH
Cal
 
Upvote 0

Forum statistics

Threads
1,221,864
Messages
6,162,497
Members
451,770
Latest member
tsalaki

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