keep getting a runtime error 424 using just 6 columns Dim criterion Private Sub ComboBox1_Change() Dim c As Integer Dim column_headers column_headers = Array("A", "B", "C", "D", "E", "F") For c = 1 To 6 If Sheet1.Cells(1, c).Value = Me.ComboBox1.Value Then criterion = column_headers(c - 1) End If Next Sheet1.Cells(1, "H").Value = criterion Me.ListBox1.Clear Me.TextBox1.Value = "" Me.TextBox1.SetFocus End Sub Private Sub TextBox1_Change() On Error Resume Next If Me.TextBox1.Text = "" Then Me.ListBox1.Clear Exit Sub End If Me.ListBox1.Clear Dim r, last_row As Integer last_row = Sheet1.Range("A10000").End(xlUp).Row For r = 2 To last_row a = Len(Me.TextBox1.Text) If UCase(Left(Sheet1.Cells(r, criterion).Value, a)) = UCase(Me.TextBox1.Text) Then With Me.ListBox1 'MsgBox "Data Saved" .AddItem Sheet1.Cells(r, "A").Value .List(.ListCount - 1, 1) = Sheet1.Cells(r, "B").Value .List(.ListCount - 1, 2) = Sheet1.Cells(r, "C").Value .List(.ListCount - 1, 3) = Sheet1.Cells(r, "D").Value .List(.ListCount - 1, 4) = Sheet1.Cells(r, "E").Value .List(.ListCount - 1, 5) = Sheet1.Cells(r, "F").Value End With End If Next r End Sub Private Sub UserForm_Initialize() 'making dropdown search Critria-------------------- Dim c As Integer For c = 1 To 6 Me.ComboBox1.AddItem Sheet1.Cells(1, c).Value Next With Me.ListBox1 .ColumnCount = 6 .ColumnWidths = "30,40,100,110,70,90" End With End Sub
@IKTraders-l2w14 күн бұрын
sir please sheet Download Opention i am try tmake this sheet butt some errour
@GabrielAmado-h8s15 күн бұрын
is the resistors necessery?
@hay_kel15 күн бұрын
of course. otherwise you risk damaging your esp
@Awarenesstv15 күн бұрын
Understoud@@hay_kel
@sunilbudke18 күн бұрын
Thank you. This video was very useful.
@hay_kel18 күн бұрын
You are welcome
@ssmagic187619 күн бұрын
Excellently explained 🔝
@hay_kel18 күн бұрын
Thank you
@Cirilla-y6l21 күн бұрын
hi sir why i can still access the workbook when i just close the login form by click the x ? is there anyway that can fix that ?? thank you for your video sir
@asurajeff631622 күн бұрын
How do you go pass 9 rows sir
@roanmarasigan864826 күн бұрын
thanks mate! you're a life saver 😁
@hay_kel26 күн бұрын
Thanks for your comment
@shanmukhavinayakm790626 күн бұрын
can we increase accuracy in angles
@hay_kel26 күн бұрын
of course
@MikeO-p8l27 күн бұрын
Spanks .... From 2008
@hay_kel27 күн бұрын
:)
@torkuncАй бұрын
Neat and clean…🎉
@hay_kelАй бұрын
Thanks for your comment
@pinoyexcelchannelАй бұрын
sir how to display data in the listbox using search command button instead of displaying all of the database content?
@melakutilahun3316Ай бұрын
no display on listbox
@hay_kelАй бұрын
first thanks for your comment. i think you need to initialize the event. it's explained from 4:24 to 5:34
@melakutilahun3316Ай бұрын
thank you very much for clear presentation i write the code but nothing display on listbox2 my column is 4 ======= Dim criterion Private Sub ComboBox1_Change() Dim c As Integer Dim column_headers column_headers = Array("A", "B", "C", "D") For c = 1 To 4 If Sheet2.Cells(1, c).Value = Me.ComboBox1.Value Then criterion = column_headers(c - 1) End If Next Sheet2.Cells(1, "K").Value = criterion Me.ListBox2.Clear Me.TextBox1.Value = "" Me.TextBox1.SetFocus End Sub Private Sub TextBox1_Change() On Error Resume Next If Me.TextBox1.Text = "" Then Me.ListBox2.Clear Exit Sub End If Me.ListBox2.Clear Dim r, last_row As Integer last_row = Sheet2.Range(cell1).End(xlUp).Row For r = 2 To last_row a = Len(Me.TextBox1.Text) If UCase(Left(Sheet2.Cells(r, criterion).Value, a)) = UCase(Me.TextBox1.Text) Then With Me.ListBox2 .AddItem Sheet2.Cells(r, "A").Value .List(.ListCount - 1, 1) = Sheet2.Cells(r, "B").Value .List(.ListCount - 1, 2) = Sheet2.Cells(r, "C").Value .List(.ListCount - 1, 3) = Sheet2.Cells(r, "D").Value End With End If Next End Sub Private Sub UserForm_Initialize() Dim c As Integer For c = 1 To 4 Me.ComboBox1.AddItem Sheet2.Cells(1, c).Value Next With Me.ListBox2 .ColumnCount = 4 .ColumnWidths = "80;80;80;80" End With End Sub =====
@hay_kelАй бұрын
thanks
@snaX_RuShАй бұрын
Isn't using an ir sensor a bit useless Imagine Triggering your firealarm with your tv remote
@chris948_vrАй бұрын
same thing if the sun shines on it
@hay_kelАй бұрын
Noted. Thanks for the comment
@hay_kelАй бұрын
Why not! Thanks for the comment
@右折.番長Ай бұрын
Thermally Sensitive Resistor
@ThisiswhyiHATEglueАй бұрын
Ngl this is pretty cool.....im just wondering what would happen if a little bit of light hit the light sensor?
@hay_kelАй бұрын
You tell us! Thanks for the comment
@LeoPlays2GamesАй бұрын
Fire alarm?
@hay_kelАй бұрын
yes. but what do you think about using two micro bit boards with radio?
@KARTHIKKEYAN-o9jАй бұрын
what is "i"
@TheLaopiАй бұрын
Very great can you share
@hay_kelАй бұрын
Thank you
@telli5868Ай бұрын
that’s so cool!
@hay_kelАй бұрын
Thank you
@richardappow6770Ай бұрын
please what editor are you using for the wiring?
@hay_kelАй бұрын
hi. i used tinkercad.com . thanks for the comment.
@litharshanchristie6649Ай бұрын
Hi, It is a wonderful video and very helpful. Could you please share your script if you can? It would be very helpful. Thank you.
@hay_kelАй бұрын
thanks for the comment. but unfortunately I don't have this code anymore.
@rolly909Ай бұрын
// Clear form function ClearCell() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var formS = ss.getSheetByName("Form"); //Form Sheet var rangesToClear = ["B3", "B6", "B8", "B10", "D6", "D8", "D10"]; for (var i=0; i<rangesToClear.length; i++) { formS.getRange(rangesToClear[i]).clearContent(); } } //Input Values function SubmitData() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var formS = ss.getSheetByName("Form"); //Data entry Sheet var dataS = ss.getSheetByName("Data"); //Data Sheet var values = [[formS.getRange("B6").getValue(), formS.getRange("B8").getValue(), formS.getRange("B10").getValue(), formS.getRange("D6").getValue(), formS.getRange("D8").getValue(), formS.getRange("D10").getValue()]]; dataS.getRange(dataS.getLastRow()+1, 1, 1, 6).setValues(values); ClearCell(); }
@TimPazlerАй бұрын
Магия вне Хогвартса запрещена, пора бы уже знать
@hay_kelАй бұрын
Thank you for the comment
@SpacePrintsCoАй бұрын
SAVE & CLEAR works fine but I'm stucked with the SEARCH😢 anyone cane help?
@SpyrofluffАй бұрын
You could do a sloped design for the water to flow
@hay_kelАй бұрын
Good idea. I'll work on it.
@SpyrofluffАй бұрын
Nice work!
@hay_kelАй бұрын
Thank you! Cheers!
@CHENGHAOYONGVALORАй бұрын
no function I write the EXS001 after click the searchbutton message show Error!
@陳承皓-d5pАй бұрын
想請問你的程式是如何設定讓伺服馬達感應到物品才做升降桿子
@Ali-s7t3uАй бұрын
Big thanks
@hay_kelАй бұрын
You are welcome
@yaseenmhmod21Ай бұрын
من قرأ آية الكرسي بعد كل صلاة لم يمنعه من دخول الجنة إلا ان يموت ❤️ وصلوا على النبي تلبيس
@chimainnocent5484Ай бұрын
I want to go back out now...
@hay_kelАй бұрын
What...
@陳承皓-d5pАй бұрын
我的伺服馬達在程式書寫後插入microbit擴充板,但伺服馬達的桿子升不起來,不知道是什麼問題
@hay_kelАй бұрын
Check servo connection, code or status
@陳承皓-d5pАй бұрын
@@hay_kel我在試看看
@gopipcАй бұрын
Why need this gate 😂😂😂😂😂😂😂
@hay_kelАй бұрын
To learn
@thestrongestbacon-qu5fdАй бұрын
Why do we need your grammar?
@Serhat-n7dАй бұрын
Tesla: upload your own mp3 file
@hay_kelАй бұрын
Ok
@Felno-vu8zeАй бұрын
Null
@hay_kelАй бұрын
:(
@jdpoАй бұрын
Micro:bit!
@hay_kelАй бұрын
Yes
@drlorgan1160Ай бұрын
Вы открыли технологию "оптронная пара"
@РонанОбвинительАй бұрын
Это ультразвуковой датчик на видео
@ПавелКоржуков-м2пАй бұрын
Как двигатель называется?
@hay_kelАй бұрын
Servo motor
@кейсикриннАй бұрын
А что за черная панель со светодиодами?
@haqeeqattv2.092Ай бұрын
So what is the purpose of the barrier if anyone can enter the parking. There must be some authentication process as well.
@hay_kelАй бұрын
yes. good idea. what do you think about adding password authentication with microbit.
@MyChannel-yr7zpАй бұрын
@@hay_kelI won't be practical ,instead why RFID dint not come into u r mind which is universally used .many people would have saved their time by not watching yours non practical stupid video
@haunguyentan6592Ай бұрын
Nếu nó nằm giữa thanh chắn thì sao
@hay_kelАй бұрын
Good idea
@tynda1130Ай бұрын
А где второй датчик, что машины нет под шлагбаумом ? 😂
@hay_kelАй бұрын
Great. thanks for the comment
@СергейКостюков-ы7хАй бұрын
А обратно?😂
@hay_kelАй бұрын
you can find all the steps of the production in my channel and here is the link to the video: kzbin.info/www/bejne/pZ6Vq6h9gct3npo
@dmitryraven4141Ай бұрын
Посередине шлагбаума поставь
@hay_kelАй бұрын
Yes
@РождениеДняАй бұрын
Привет ,классно.что за контроллер ?
@hay_kelАй бұрын
Microbit card. Thank you for your comment
@bumpersmithАй бұрын
Nice job. Hope to see more like this
@hay_kelАй бұрын
Thank you
@Crutoy_001Ай бұрын
it's very easy to do this
@hay_kelАй бұрын
Yes it's easy. Thank you for your comment
@chulkoffigor1255Ай бұрын
А выезжать как?
@hay_kelАй бұрын
Another exit barrier
@ВасилийГаврюшкинАй бұрын
@@hay_kel, а чтоб через эти же ворота?
@BegemotNetАй бұрын
@@ВасилийГаврюшкинЁпта, там же забора нет, объедет.