Hello,
I am trying to filter combobox2 based on combobox1 selection. What I would like is when Zak is selected in combobox1, combobox2 only shows values with Zak in the title.
Is this possible?
Thanks
Z
Hello,
I am trying to filter combobox2 based on combobox1 selection. What I would like is when Zak is selected in combobox1, combobox2 only shows values with Zak in the title.
Is this possible?
Thanks
Z
Yes. Please post a sample workbook showing how you are populating the two controls.
Everyone who confuses correlation and causation ends up dead.
I can't post the workbook but... combobox1 is looking up a rowsource of authors and combobox2 needs to filter that rowsource to show only items that contain Zak.
If you can't post a workbook, we need to be specific.
Is combobox1 populated using the RowSource property, or AddItem, or List?
What's the source for combobox2? (they presumably aren't the same if you are selecting an item from the list in combobox1.)
combobox1 is populated using rowsource property. combobox2 does not yet have a source as I'd like the source to be a filter of combobox1
Here's a simple example:
Please Login or Register to view this content.
Thank you romperstomper, however that code just mirrors the option selected in combobox1
Well, if no other items in the list contain that selected text, yes, that is what it will do.
I have adapted your code slightly to try and show all the items within a rowsource that contain a specific piece of text.
What I would like is for combobox2 to return a list of values that contain whatever is selected in combobox1. Is that possible?Please Login or Register to view this content.
Thanks
Z
It's not at all clear to me what you are doing - a censored workbook example would make this a lot easier. My best guess would be:
Please Login or Register to view this content.
That's it!!!!! Thank you I've been trying to do this for about 3 weeks!
Glad to help. Please don't forget to mark the thread Solved using the Thread Tools link at the top.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks