I'm losing count of how many times you keep coming to my rescue. Thank you so much for this!
@Computergaga6 ай бұрын
You are so welcome!
@suhailabahrom.456010 ай бұрын
If the list of item of second combobox is not in the excel what is the correct way to write the command in vba to list the item
@ronaldodoetargbeh5158 Жыл бұрын
Thanks for this tutorial; nice. However, how can you reference this code to a sheet if you have multiple sheets (e.g. sheet1, sheet2. sheet3, etc.)? Thanks for your help.
@stevennye50754 жыл бұрын
Excellent!
@Computergaga4 жыл бұрын
Thank you, Steven.
@MohAboAbdo4 жыл бұрын
Thank you so mutch.
@Computergaga4 жыл бұрын
My pleasure.
@markanthonydizon502 жыл бұрын
what if I want to pull out data from different sheet?
@Computergaga2 жыл бұрын
The City lists are set up as range names, so they will pull from another sheet.
@wazy18522 жыл бұрын
How can I do this but inside the Excel sheet using the Combobox tool, not using the userform? thanks
@sircorn42484 жыл бұрын
Thank you, that was an eye opener for me.
@Computergaga4 жыл бұрын
Fantastic! Great to hear.
@chocasaclang4 жыл бұрын
Thanks for the video, just wanted to ask if there's a way to reset combobox 2 when combobox 1 is changed again? Here's the scenario im getting: i choose country germany the first time then i see the cities, but if i go back and change the country, it keeps the german cities on the city dropbox unless i close the userform and start over.
@legros944 жыл бұрын
Merci pour le tuto
@Computergaga4 жыл бұрын
You're welcome Hiro.
@ismailismaili00716 жыл бұрын
Awesome thanks sir
@Computergaga6 жыл бұрын
You're welcome Ismail.
@SaniaGestion824 жыл бұрын
That's wath I'm looking for to finalize my formular Thanks a lot Dear
@Computergaga4 жыл бұрын
You're welcome. Thank you.
@litmol5 жыл бұрын
Thanks for the code and the detailed explanations - it’s highly useful. I tried taking your code one step further and failed. I would like to use three ComboBox in the following manner: the third ComboBox should present values (Names) based on user’s selection in the first two ComboBox (Company and Division). Could you kindly advise how to amend your code to make it work with three ComboBox? Thank you in advance.
@Computergaga5 жыл бұрын
Thanks Tal, you could set up named ranges for each company and division combination. Then maybe instead of Select Case, is an If cboCompany.value = ?? And cboDivision.Value = ?? then approach. Using the row source as in the video.
@litmol5 жыл бұрын
Thnaks for the tip. I'll give it a try
@litmol5 жыл бұрын
I tried and it works! Thanks again for the useful advice
@hamassa555 жыл бұрын
Tal Shani Can you share the final code with three combobox
@litmol5 жыл бұрын
@@hamassa55Sure. I don't have the code on this computer, so I'll post it tomorrow. It's basically very simple - combine the content to the first two comboboxes to one string and then use an If statement to populated the third combobox based on the value of the string. If that wasn't clear, please wait till tomorrow morning.
@AdilsonVCasula6 жыл бұрын
That was so simple. Great done
@Computergaga6 жыл бұрын
Thank you Adilson.
@sachinbajaj51374 жыл бұрын
This is super helpful ! This is what i was looking for ! Thanks a Ton !
@Computergaga4 жыл бұрын
You're very welcome. Thank you.
@maherzeetawi5083 жыл бұрын
I tried it was perfect.. But after trying that with button several times then closed file reopened the file it was not working even made new file & followed the same steps but unfortunately not working... Hopefully can get help... Thank you
@vigneshwarank5296 жыл бұрын
Awesome content thanks for sharing
@Computergaga6 жыл бұрын
You're welcome, thank you Vigneshwaran.
@jochenp.61376 жыл бұрын
Love it, thank you!
@Computergaga6 жыл бұрын
You're very welcome Jochen.
@nextstep22393 жыл бұрын
I'm getting compile Error
@StephenE-mx5fe6 жыл бұрын
Just what I needed thank you!
@Computergaga6 жыл бұрын
No problem Stephen.
@cire4115 жыл бұрын
How are you sourcing the country CBO?
@Computergaga5 жыл бұрын
The countries are sourced from A2:A8
@hamassa555 жыл бұрын
I followed all the instruction and its not showing data in the drop box when I try to run it
@dannywoods52165 жыл бұрын
Mine is not working either. Try this one: kzbin.info/www/bejne/j3qopZKJa5p6qLc
@VijayKumar-zd7ou5 жыл бұрын
Sir, can we do this only combo box without user form
@Computergaga5 жыл бұрын
Yes this could be done of a worksheet too.
@VijayKumar-zd7ou5 жыл бұрын
@@Computergaga please send me sample excel on my mail id please help me
@VijayKumar-zd7ou5 жыл бұрын
I can't do this apply on ActiveX Control combo box on sheets
@nextstep22393 жыл бұрын
Error invalid qualifier
@stevenojeda65136 жыл бұрын
How would you do this if there is three combo boxes instead of two? The code is magnificent but I can't see how to apply it to 3. I have five combo boxes that are dependent but hopefully if you show me how to do three I can build the rest.
@MyMomSayNoDota4 жыл бұрын
i dunno why, but i hate to set data without table and use SELECT in the vba code.
@gun7073 жыл бұрын
nice approach, however, try using 1 line code without the need of typing all names again: private sub cbocountry_change() cbocity.value = "" 'clears the combobox first when country is changed cbocity.rowsource = cbocountry.value 'replaces manual name entry end sub
@disposable_hero17256 жыл бұрын
Auckland, New Zealand, Represent!! LOL
@tomo.pomo13 жыл бұрын
👍👍👍👍
@petrusedwardjr.25985 жыл бұрын
Why would you start off the video not showing how u got the two combo boxes in Visual Basic. When u press Visual Basic two combo boxes don’t magically appear
@Computergaga5 жыл бұрын
Sorry about that but I cannot start all videos from the beginning. I would need some prepared data before I show the formulas, chart or in this case dependent combo boxes.
@kimikimkimkimkimkim81256 жыл бұрын
How to do this on Access?
@Computergaga6 жыл бұрын
Sorry I do not work with Access anymore. I'm sure the process would be similar with VBA.
@dhirendrakumar16566 жыл бұрын
How did you do that. It is not working on my userform of Excel vba. Will you please help me? Give me your email ID.
@VijayKumar-zd7ou5 жыл бұрын
Sir please provide me ur email id I send to u sample file what I want
@Computergaga5 жыл бұрын
Sorry Vijay I can't help you with this at the moment. Combo Boxes added to a sheet have a name. You should be able to reference this like in the video.