That vlookup coding part is clever part. Amazing, learnt something new.
@DJOamen3 жыл бұрын
Glad to hear that! Thanks KB
@ashrafabdallaattyaelfeky26395 жыл бұрын
Explain in the utmost magnificence ... Ask your presence to search in more than sheet and the result appear in the listbox by writing in the textbox ... Thank you so much for all your presentation of the explanations and codes distinct
@DJOamen5 жыл бұрын
Thank you
@TheComputerDocter2 жыл бұрын
Exactly what I needed. Thanks
@DJOamen2 жыл бұрын
Glad it helped!
@officialbaryar20175 жыл бұрын
You are the realy best teacher.
@DJOamen5 жыл бұрын
Thank you 👍
@ppdbsekolah19132 жыл бұрын
Great Teacher...
@DJOamen2 жыл бұрын
Thank you! 😃
@dgitson4 жыл бұрын
very nice, thanks
@DJOamen4 жыл бұрын
Most welcome
@nileshtikekar32354 жыл бұрын
Thank you sir, very helpful
@DJOamen4 жыл бұрын
Thank you👍
@mexxy79021154 жыл бұрын
Thank sir I like your way
@DJOamen4 жыл бұрын
Most welcome
@muhammad3165 Жыл бұрын
what if i want to leave out one of the columns? Like i have 9 but i only want to use 7 of it
@DJOamen Жыл бұрын
For nine columns that's (A to I), see below: lstDisplay.ColumnCount = 9 lstDisplay.RowSource = "A1:I65356"
@teeranonpasutham11333 жыл бұрын
Thank you
@DJOamen3 жыл бұрын
You're welcome
@isira315 ай бұрын
If I enter a student ID which is not in the database, the application will crash. Any solutions for that?
@DJOamen5 ай бұрын
Private Sub ComboBox1_Change() On Error GoTo ErrorHandler Dim q As Long Dim p As Long q = Application.WorksheetFunction.CountA(Sheet1.Range("A:A")) If q = 0 Then MsgBox "No data found in column A.", vbExclamation Exit Sub End If For p = 1 To 15 Me("Textbox" & p).Value = Application.WorksheetFunction.VLookup(CLng(Me.ComboBox1.Value), _ Sheet1.Range("A" & 2, "P" & q), p + 1, 0) Next p Exit Sub ErrorHandler: MsgBox "An error occurred: " & Err.Description, vbCritical End Sub
@isira315 ай бұрын
@@DJOamen Great ... Thank you sir
@sigitpurwanto35314 жыл бұрын
Terimakasih ilmunya
@DJOamen4 жыл бұрын
Terima kasih dan saya senang Anda menyukai tutorialnya, ingatlah untuk berlangganan. Semoga harimu menyenangkan
@khaled8619914 жыл бұрын
What if I need to change a value using the form?
@DJOamen4 жыл бұрын
The tutorial is all about Vlookup in Excel with VBA using Userform.
@omiorahman62835 жыл бұрын
Thank you sir
@DJOamen5 жыл бұрын
Thank you
@kuatulangan98114 жыл бұрын
Sir, would you mind to explain what do you mean by dim q and p, thank you very much sir
@DJOamen4 жыл бұрын
Variable declared e.g q and p.
@kuatulangan98114 жыл бұрын
@@DJOamen is those variable q and p refering to some cell on worksheet? im really sorry to bother you for what im not understanding yet sir, thankyou very much for all of your video
@DJOamen4 жыл бұрын
Declared variables are storage location, the two variables q and p are used to store values within the VBA. Read more about variable here, see link: launchschool.com/books/ruby/read/variables
@kuatulangan98114 жыл бұрын
@@DJOamen thankyou very much sir,... really2 thankyou