Awesome videos...Your VBA tutorial videos is one of the best I have seen so far...well done and God bless you Sir
@PKAnExcelExpert2 жыл бұрын
Thank you very much!
@arkd3um19882 жыл бұрын
much respect for your effort to explain this example. Thank you. It is exaclty what i needed. Regards from Romania
@PKAnExcelExpert2 жыл бұрын
So nice of you
@M4rt1nX5 жыл бұрын
Finally I found a video with instructions that really works.
@PKAnExcelExpert5 жыл бұрын
Thanks for your valuable feedback
@alikilali22494 жыл бұрын
Me to 1 month to find it thank you man
@BINAYKUMAR-kn2ye4 жыл бұрын
Dear Sir, First I thankful to you for send Inventory Managment for practice , in that practice I serch verious Utube channel for serching dependent combobox but I spent 5 hours but not good for me then in meanwhile I look Fully Dynamic List in Combobox of VBA that I am surprise in few code I have done my problem with many facilities, for this I am highly oblize . thanks again.
@معلمسالم-ك2ج4 жыл бұрын
I am an Arab and this video helped me a lot .. Thank you
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@choudhary81504 жыл бұрын
Thanks . This is the video what I exactly want.... really it's very helpful
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@anmarhakami3 жыл бұрын
You are good 👍🏻 thanks 🙏
@PKAnExcelExpert3 жыл бұрын
Thanks for your valuable feedback🙏
@tariqul1994 жыл бұрын
Sir, really you are great!
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@ardeshiraqayi99763 жыл бұрын
Sooooooo useful... Tanks a lot brother ...
@paulocezardesouza504 жыл бұрын
Another excellent class. Thank you.
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@marcioaffonso02 жыл бұрын
Thank you, Very informative
@PKAnExcelExpert2 жыл бұрын
Most welcome
@mathsever349 ай бұрын
Perfect! Is it possible to have a combobox as category 1, category 2, category 3?
@jintamolp.y.22303 жыл бұрын
Whether we can do it if multiple sheets are present
@Kutesac5 жыл бұрын
Great instructions...very understandable.
@PKAnExcelExpert5 жыл бұрын
Thanks for your valuable feedback
@slimaneboudour82402 жыл бұрын
Thank you for this video.
@PKAnExcelExpert2 жыл бұрын
My pleasure!
@a.b.c.0.24 жыл бұрын
Thanks for good video
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@RaviMishra-hh8dx Жыл бұрын
Thank you very much sir for this relevant video to my work can you plz teach us how to view data from excel sheet according to 3 or 4 combobox filter.
@chesterjackson46906 жыл бұрын
Great lesson. However, I continue to have a runtime error '1004'. The overall function works properly until I added in the code for clearing the fields. When I remove the code starting at 7:41 everything works great. I guess I will need to remove that existing combo box and add in a new one and resubmit the code. Overall....very helpful
@JGuitarJ245 жыл бұрын
Hi Chester, How did you fix this problem? I am facing this issue right now with the clear button and I do not know what to do. Thanks
@keyingong67283 жыл бұрын
Hi Chester, is the issue resolved? Do you mind to share the solution?
@LearningWhileHavingFun5 жыл бұрын
Hi An Excel Expert, i learned a lot and i am following your tutorials, just curious whats the formula because at 9:50 the video got blurry hope you can help me or any one can help me with this. ty
@alikilali22494 жыл бұрын
Thank you man for this video
@PKAnExcelExpert4 жыл бұрын
Welcome
@TimHulse3 жыл бұрын
Nice work!
@PKAnExcelExpert3 жыл бұрын
Thanks for your valuable feedback
@muhammadakif59513 жыл бұрын
Sir if I write the first letter of any month or year will the drop-down list show only those items that start with the letter I have entered?
@abdallahbelcaid30024 жыл бұрын
Please answer me I got an error 1004 c=application.worksheetfunction,match(me.combobx1.value,sh.range("1:1"),0) geta an error saying that "unable to get the match property of the worksheet function class"
@tmatthew53733 жыл бұрын
take out the ".worksheetfunction."; just using "application.Match". This changes the error type from 1004 to 13. Error 13 is a type mismatch. This happens because you declared variables as integers, but when the values are assigned/used, they may be Text. (Dim i As Integer. This later can change to a text in 'Me.ComboBox2.AddItem') As a work-around, add a 'On Error Resume Next' in the second part of the code Dim sh As Worksheet Set sh = ThisWorkbook.Sheets("Setup Table") Dim i As Integer Dim n As Integer On Error Resume Next n = Application.Match(Me.ComboBox1.Value, sh.Range("1:1"), 0) Me.ComboBox2.Clear For i = 2 To Application.CountA(sh.Cells(1, n).EntireColumn) Me.ComboBox2.AddItem sh.Cells(i, n).Value Next i End Sub
@alhassanmusah72424 жыл бұрын
great work thanks
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@bharatprasad84504 жыл бұрын
Good lesson to me, Thank a lot
@PKAnExcelExpert4 жыл бұрын
Thanks for your valuable feedback
@Ponder_The_Cosmos4 жыл бұрын
Thanks so much for this tutorial. It worked almost perfectly for me, but in my second combobox, the last rows value for selected column does not show. Does anyone know how to fix this?
@crimcrow6 жыл бұрын
Thanks, Really helpfull :)
@PKAnExcelExpert6 жыл бұрын
Thanks for your valuable feedback
@Aryan.Vivhaan01116 жыл бұрын
This video is very useful but when I m using this in my existing user form its showing unable to get the match property of the worksheet function class. Independent data is showing in combobox but when I using submit button this time the error is coming .can u suggest me for the solution.
@Fazwaans3 жыл бұрын
Thanks for sharing your knowledge with everyone, Can you kindly enplane make video how to add Columns manually, e.g if i just want to add Column D, g, or Z. thank you
@kailashsoni6762 жыл бұрын
Sir show row wise dynamically
@ardeshiraqayi99763 жыл бұрын
Please help me on this: What about the ComboBox on the worksheet? How can I simply make a dynamic range and then populate the ComboBox with it? Without a For Loop , of course
@abdallahbelcaid30024 жыл бұрын
Thank you so much ! and what about dynamic login form ?
@PKAnExcelExpert4 жыл бұрын
Thanks for watching. Please watch below given video for login form: kzbin.info/www/bejne/pGisZmBsm89kobs
@abdallahbelcaid30024 жыл бұрын
@@PKAnExcelExpert thank you sir
@abdallahbelcaid30024 жыл бұрын
@@PKAnExcelExpert Sir I got an error in the function match what is the solution please help me is my final project ?
@Learner5665 жыл бұрын
How to vaildation combobox value if when change the value by keypress
@Yorumcu632 жыл бұрын
Nice Video
@sdesilva47285 жыл бұрын
Thank you, it helped a lot...
@barisersoy97845 жыл бұрын
Thank You!
@PKAnExcelExpert5 жыл бұрын
Thanks for watching
@dashyi976 жыл бұрын
Thank you for the very useful tutorial sir. May I ask how can I add a Clear button to the userform for the dynamic list in combobox? I seem to have an error with the Match property of the worksheet function when I use my usual code for Clear button. Thank you sir
@henokayele84974 жыл бұрын
wow your teaching is best! but i need some help of you how to code in vba not i worksheet this code please tell me you captured on worksheet but i want to code in vba.............eg:- combobox1 ("subject").........Dynamicaly in combobox2 = Biology.....physics.....etc
@keranicat21275 жыл бұрын
please help me "run time error 5" invalid procedure call or argument *** For i = 2 To Application.WorksheetFunction.CountA(sh.Cells("1,n").EntireColumn)
@daljeetsingh12313 жыл бұрын
I have 2 Dropdown List with the same options (Included and Excluded) in different sheets. If I select " Included" in one dropdown list, it should also select "Included" on another dropdown list and vice versa. I am new in coding please help me out to crack this.
@vidyatutorials1137 жыл бұрын
Sir please tell me best book for VBA for beginners
@marcosbertozzo31935 жыл бұрын
Thanks a lot!
@PKAnExcelExpert5 жыл бұрын
Thanks for watching
@pietrogazzera57336 жыл бұрын
Bravo!
@PKAnExcelExpert6 жыл бұрын
Thanks for your valuable feedback
@ktamilarasan175 жыл бұрын
Thanks a lot!!!!!
@PKAnExcelExpert5 жыл бұрын
Thanks for watching
@gautamgarde3444 жыл бұрын
Hello sir Sir please upload a video that's also contains the add items to dependent dropdown list.
@AamirSaeedTajalli5 жыл бұрын
hello, wornderful tutorial.. Love your command over Excel and VBA. I have one question. What, if i want to display the first item of the 2nd category list depending on the the main category chosen above? kindly explain.
@mjcomputershimatnagar4 жыл бұрын
Sir I want edit form by name search box
@TheNewLifeTech4 жыл бұрын
Thank you so much for this wonderful video, can I apply this my another userform, please guide me.
@SongsForSoul_ID-tr3cs5 жыл бұрын
i use thi script,but when i input an error occur, can you help me?
@VijayKumar-zd7ou6 жыл бұрын
Sir how to be same condition apply ActiveX control without userform how to be possible
@sameer_ansari54346 жыл бұрын
Excellent work @PK: An Excel Expert, i want to extract data based on dependent drop down. i have prepared simmillar dash board using simple slicer, but i want to make a user form and extract data while i am gradually applying the filters with dependent dropdown. please help me with some guidance. an explaination would be more than i could ask. NIce work sir.
@MohAboAbdo6 жыл бұрын
Thanks ... Thanks.
@PKAnExcelExpert6 жыл бұрын
Thanks for watching
@Design3604 жыл бұрын
*_Dear Sir, I am Md. Alamgir Kabir from Bangladesh. Thank you so much for your valuable tutorial. It's the same as my requirements, but I have a small query, How to add a unique item to this Combobox. Please help me_*
@manyoeur6 жыл бұрын
Dear Sir, how can we code if we have more sub categories?
@alriyami095 жыл бұрын
hi, friend, can you help me to design the data entry form for me how much your charges
@engrmamun594 жыл бұрын
I can help you during payment contact. (You can mail me : engrmamun66@gmail.com) with your requirement.
@fanueltomas22696 жыл бұрын
Very nice
@alializadeh81952 жыл бұрын
Thanx
@PKAnExcelExpert2 жыл бұрын
Most welcome
@clovissassine79477 жыл бұрын
Friend, can we have something similar to that about having a plan for a call center where employees can schedule their breaks and lunch and personal? or do you have a link for such a video? appreciate your assistance, thank you.
@PKAnExcelExpert7 жыл бұрын
Hi Clovis, I don't have such video ready as of now but I will definitely try to make such video very soon. Thanks for watching
@clovissassine79477 жыл бұрын
thank you very much, hope to get a notification once it is done, i believe its beneficial for a lot of people as well, keep it up, your doing a great job!!!
@MohAboAbdo6 жыл бұрын
Thanks ... Thanks ... Thanks ...
@hemendravakharia25025 жыл бұрын
but after running the combo box how to enter data in excel sheet ???
@pablosel38573 жыл бұрын
You call a procedure that contains everything you want to do
@upgradetechnicalskills33926 жыл бұрын
Hi Good morning sir I have made one searchable drop down list. My question is if my data is X workbook and I want to create searchable drop down list in Y workbook. is it possible and how to do that? Can you help me on that
@PKAnExcelExpert6 жыл бұрын
Hi Kurban, I will try to make such video very soon.
@123DZDZ6 жыл бұрын
Hi PK, good job, but can you do the same and eliminate the duplicates , exp: if the month or the year is repeated twice or more, it won't be shown on the comboBox, Thanks
@surajbagkar97926 жыл бұрын
nice one
@PKAnExcelExpert6 жыл бұрын
Thanks for your valuable feedback
@vonandrewronquillo57086 жыл бұрын
What is abilabil?
@dursunn2 жыл бұрын
how can I do this in python?
@hasanthidevendra70496 жыл бұрын
can yo give solution to show it on user form as list instead of showing it on excel sheet
@abdihassen91026 жыл бұрын
unable to get the mach property of the WorksheetFunction class, how can I solve that please
@acespere6 жыл бұрын
how?? please.. anyone? followed above but encountered error.. help
@PKAnExcelExpert6 жыл бұрын
Hi, Please send me your excel file along with the error snapshot on info@pk-anexcelexpert.com.
@Akash_with_GSD6 жыл бұрын
@@PKAnExcelExpert same problem
@tors-a48084 жыл бұрын
Great tutorlia. However my c=application.worksheetfunction,match(me.combobx1.value,sh.range("1:1"),0) geta an error saying that "unable to get the match property of the worksheet function class" I don't understand as I have completly copied your code.
@abdallahbelcaid30024 жыл бұрын
Did you find the answer ?
@dhavaldaraji43 жыл бұрын
I am also observed same error . please help me
@jamilurrahman43286 жыл бұрын
Thanks nice
@PKAnExcelExpert6 жыл бұрын
Thanks for your valuable feedback
@pankajhiralalpatel44545 жыл бұрын
Sir I have an excel sheet, column A has dates and column B to J has other data. I want to create a combobox which shows those months which first date to end date available in Column A . Thanks in advance Please help me
@AamirSaeedTajalli5 жыл бұрын
hi, did you get solution to this? can you plz explain what do you mean by "which shows those months which first date to end date available in Column A"
@mrtechguru3416 жыл бұрын
sir please tell me how to make Double dynamic list in Combobox with coding please sir reply kar na !
@abdihassen91026 жыл бұрын
Thank you for your replay, it was my mistake
@LearningWhileHavingFun5 жыл бұрын
hi thank you so much great video im having a run time error with this code n = Application.WorksheetFunction.Match(Me.txtSupervisor.Value, sh.Range("1:1"), 0)
@dhavaldaraji43 жыл бұрын
I have same problem
@vigneshwarank5296 жыл бұрын
Well and good
@PKAnExcelExpert6 жыл бұрын
Thanks for your valuable feedback
@ModernPindawale7 жыл бұрын
Sir excel main MISS expert person Kon hota hai. Or isme Kiya Kiya aata hai excel ka
@VijayKumar-zd7ou6 жыл бұрын
Sir without combo box how to done
@michaelconnors99066 жыл бұрын
My range is in a column, not in a row. It begins in E8. I added a declartion or RNG as Range, Set rng = Range(Range("E8"), Range("E8").End(xlDown)) I kept Me.ComboBox1.Clear I rewrote the next line as For i = 8 To Application.WorksheetFunction.CountA(ActiveSheet.Rows(8)) I changed the 1 to a 5 in this line of code. Me.ComboBox1.AddItem sh.Cells(i, 5).Value Here's the full code. I hope it helps you set the range if it is other than 1:1 Private Sub UserForm_Activate() Dim sh As Worksheet, rng As Range Dim i As Integer Set sh = ThisWorkbook.Sheets("Sheet1") Set rng = Range(Range("E8"), Range("E8").End(xlDown)) Me.ComboBox1.Clear For i = 8 To Application.WorksheetFunction.CountA(ActiveSheet.Rows(8)) Me.ComboBox1.AddItem sh.Cells(i, 5).Value Next i End Sub
@bosmanpm5 жыл бұрын
Hi. I used your changed code to my case. My range is also in column but start in B7. I changed yu code to: Private Sub UserForm_Activate() Dim sh As Worksheet, rng As Range Dim i As Integer Set sh = ThisWorkbook.Sheets("Urlopy") Set rng = Range(Range("b7"), Range("b7").End(xlDown)) Me.ComboBox1.Clear For i = 7 To Application.WorksheetFunction.CountA(ActiveSheet.Rows(7)) Me.ComboBox1.AddItem sh.Cells(i, 2).Value Next i all is fine, but I have more than 30 rows. This code shows me only 30 firsts rows. Last ten aren't visibility! How solved it? Any ideas? Ps. You have declared : rng As Range -> Set rng = Range(Range("b7"), Range("b7").End(xlDown)) Why? Where is it in solution?
@VijayKumar-zd7ou6 жыл бұрын
Sir, can we will do this condition on sheet ActiveX control combo box on sheet without user form in excel please help and give me sample file on my email id
@redareda28725 жыл бұрын
you re the bt
@AamirSaeedTajalli5 жыл бұрын
Seems, SIR dont like or dont get time to REPLY here :)
@PKAnExcelExpert5 жыл бұрын
Hi Amir, sorry for the late reply. You can use listindex property of combobox. It starts from 0.
@AamirSaeedTajalli5 жыл бұрын
@@PKAnExcelExpert Thanks a lot dear. I tried it on form level but not working.
@AamirSaeedTajalli5 жыл бұрын
Boss, just now tried again. In excel at form level, i used code "ComboBox17.Text = ComboBox17.ListIndex(0) and getting "Type mismatch error" Data is populated absolutely correct. Just want to select and display first item in list of combobox17
@mrtechguru3416 жыл бұрын
Plz bro reply me
@MrPACO05086 жыл бұрын
Thank you for the very useful tutorial sir. May I ask how can I add a Clear button to the userform for the dynamic list in combobox? I seem to have an error with the Match property of the worksheet function when I use my usual code for Clear button. Thank you sir
@nileshpawar74366 жыл бұрын
Same here... Getting error same error.. compile error