How to Create an Excel VBA Data Entry Form with Update and Search Function - Full Tutorial

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

Комментарии • 84

  • @ellewood4477
    @ellewood4477 Год назад

    Thank you so much for your tutorial! I learned a bunch!

    • @DJOamen
      @DJOamen  Год назад

      You are so welcome!

  • @faniecronje3414
    @faniecronje3414 8 месяцев назад

    Well done on the tutorial!

    • @DJOamen
      @DJOamen  8 месяцев назад

      Glad you liked it!

  • @Mamahen333
    @Mamahen333 9 месяцев назад

    Thank you so much for the tutorial!!

    • @DJOamen
      @DJOamen  9 месяцев назад

      Any time!

  • @aishabee9224
    @aishabee9224 Год назад

    Thank you for your excellent tutorial. Is it possible to print just based on “the search result list” instead of printing all the data from the sheets? Thank you.

    • @DJOamen
      @DJOamen  Год назад +1

      Yes is possible, but is not covered in this tutorial

  • @pkalamkhan
    @pkalamkhan 4 года назад

    Great Work Sir, One more important field is Picture.Then this was awsome.

    • @DJOamen
      @DJOamen  4 года назад

      Thanks K👌

  • @koemny
    @koemny Год назад

    Cool, thanks

  • @anthonyblee1386
    @anthonyblee1386 5 месяцев назад

    Hello Sir, I am one of your subscribers and I must say your videos are really outstanding. Can application of this such be integrated into google appsheet for sharing on phones?

    • @DJOamen
      @DJOamen  5 месяцев назад

      Yes, you can

  • @ulquiorra3504
    @ulquiorra3504 3 года назад

    Great video, thank you very much.
    Please,
    Suppose I am working with 4 different worksheets in my excel file and I have created a userform having a combo-box (with the worksheets as its content) and a list-box, how can I make the list-box display the data for a given selection from the combo-box?

    • @DJOamen
      @DJOamen  3 года назад

      Watch the video below, it may answer your question
      How to Create Data Entry Form with Multiple Search function and Protection in Excel :
      ruclips.net/video/wMmsmolIX_k/видео.html

  • @janixakem4936
    @janixakem4936 4 года назад +1

    greetings sir, your videos have been very helpful. i encounter a problem which is the delete function doesn't work when i want to delete data from another sheet is not the current sheet

    • @DJOamen
      @DJOamen  4 года назад

      See the description area of the video for a solution

  • @hoangtung8080
    @hoangtung8080 3 года назад

    Very good for working

  • @dougsmith5016
    @dougsmith5016 3 года назад

    Great video DJ Oamen, thank you for taking the time to do this. Am i missing something on the Update button... i cannot see where you have defined the 'updaterow' variable?
    Code I have used is as follows which I am pretty sure is exactly as you show in the video:
    Private Sub UpdateButton_Click()
    Dim answer
    Dim updaterow
    answer = MsgBox("Confirm if you want to update the record?", vbYesNo + vbQuestion, "Update Record")
    If answer = vbYes Then
    Cells(updaterow, 1) = DateInput.Text
    Cells(updaterow, 2) = PrevDayInput.Text
    Cells(updaterow, 3) = GPTodayInput.Text
    Cells(updaterow, 4) = EDStreamInput.Text
    Cells(updaterow, 5) = EDNewPushInput.Text
    Cells(updaterow, 6) = EDNewPullInput.Text
    Cells(updaterow, 7) = NewOtherInput.Text
    Cells(updaterow, 8) = FollowUpInput.Text
    Cells(updaterow, 9) = DTAInput.Text
    Cells(updaterow, 10) = SentToEDInput.Text
    End If
    End Sub
    Thanks,
    Doug

    • @DJOamen
      @DJOamen  3 года назад +1

      24 minutes into the video tutorial you will see the variable declared.
      Dim updaterow as Integer

    • @dougsmith5016
      @dougsmith5016 3 года назад

      @@DJOamen thank you, i will go through it again.

  • @jiyoutv3501
    @jiyoutv3501 2 года назад

    Can i buy the billing invoice that can search name, save, and add new bill amount but same customer name?

    • @DJOamen
      @DJOamen  2 года назад

      I don't have what you want, software development firm can sell that to you

  • @garcon6
    @garcon6 3 года назад

    Many thanks for fir you video I followed from scratch. I do however have one problem with the reset code. When I run it it this line For I=0 To Me. lstDisplay.ListCount -1. The Me.lstDisplay is highlighted
    Any reason why this is happening

    • @DJOamen
      @DJOamen  3 года назад

      Always check your code and watch the video tutorial carefully . See solution below
      Dim i
      For i = 0 To Me.lstDisplay.ListCount - 1
      If Me.lstDisplay.Selected(i) Then Me.lstDisplay.Selected(i) = False
      Next i

    • @garcon6
      @garcon6 3 года назад

      @@DJOamen thank you but I do have the same code as in your response and it just showing Method or Data member not found

  • @zakariakanso7478
    @zakariakanso7478 2 года назад

    im stuck at (addnew.Offset(0, 0).Value = txtref.Text) telling me variable not defined. when i press F5 please help

    • @DJOamen
      @DJOamen  2 года назад

      Watch the tutorial carefully

  • @gemmariellebuenaflor9194
    @gemmariellebuenaflor9194 3 года назад

    Update button do not work. Error 1004 Application or object defined error pops out. I tried debugging and it points to this code.
    Cells(updateRow, 1) = txtItemNumber.Text
    ItemNumber is my textbox Name. I hope you can help with this problem. Thanks!

    • @DJOamen
      @DJOamen  3 года назад

      Watch the tutorial carefully and check your code

  • @kathleeneller9176
    @kathleeneller9176 2 года назад

    Thank you for your code. I resolved a few errors, but I'm still having a problem with the spin button stopping at the record at A100 in my spreadsheet. I modified your Excel spreadsheet to include 150 entries. I have the same problem in your UserForm with the spin button stopping at record at A100. Thanks in advance for your help.

    • @DJOamen
      @DJOamen  2 года назад

      I have never tried A100, well that's good to know. Have a nice one

    • @kathleeneller9176
      @kathleeneller9176 2 года назад

      @@DJOamen Do you know why the spin button doesn't progress through all the records but instead stops at the 99th record (A100). I have a total of 171 records and would like the spin button to progress through all the records. Thanks in advance for your assistance.

    • @DJOamen
      @DJOamen  2 года назад +1

      Select the SpinButton, and then go to the Properties,
      On the Properties, change the Max from 100 to 200
      For example
      Max = 200
      Now Test your project

    • @DJOamen
      @DJOamen  2 года назад

      Check your mail solution sent to your email.

    • @kathleeneller9176
      @kathleeneller9176 2 года назад

      @@DJOamen, Great! Thanks for your help!

  • @IamReneeNicole
    @IamReneeNicole 4 месяца назад

    Can I hire you for a project lbvs

    • @DJOamen
      @DJOamen  4 месяца назад

      Project Ligand-Based Virtual Screening - No because of the cost it requires for development. Good luck

  • @rnr372007
    @rnr372007 2 года назад

    In cell A1 I typed Reference No. However my lstDisplay shows the header name as Column A. How do I make Reference No the Column name? Did I miss a step?

    • @DJOamen
      @DJOamen  2 года назад

      Check your codes

    • @rnr372007
      @rnr372007 2 года назад

      @@DJOamen Thank you. I am VERY grateful for this video.

  • @leehartnell5133
    @leehartnell5133 3 года назад

    Hi, great video and I’m nearly there but search function isn’t working. My code is not throwing any errors but when I search it just says invalid search even though I can see what I’m searching in the list

    • @DJOamen
      @DJOamen  3 года назад

      Check your code and try again

    • @leehartnell5133
      @leehartnell5133 3 года назад

      @@DJOamen ok so I have checked and I think it is the range section. It will only return search results on the first column. However the first column in my spreadsheet is title ( mr, mrs etc). What do I change the range to so I can search using all details? (Surname, Postcode, etc)

    • @DJOamen
      @DJOamen  3 года назад

      Watch this video tutorial
      How to Create Data Entry Form with Multiple Search function and Protection in Excel: ruclips.net/video/wMmsmolIX_k/видео.html

    • @leehartnell5133
      @leehartnell5133 3 года назад

      @@DJOamen ah mate fantastic! Will try this out in the morning. I’m sure I’ll have some more questions 😂

    • @leehartnell5133
      @leehartnell5133 3 года назад

      @@DJOamen thank you 🙏

  • @chanmonanrie6898
    @chanmonanrie6898 3 года назад

    Hi, Captain! This string is highlighted in yellow "iSearch = Worksheets("Sheet14").Range("A1").CurrentRegion.Rows.Count." Any solution for this issue?

    • @DJOamen
      @DJOamen  3 года назад

      In my tutorial is not Sheet14, check your code

    • @garcon6
      @garcon6 3 года назад

      @@DJOamen please check my message you assistance is required

  • @chanmonanrie6898
    @chanmonanrie6898 3 года назад

    Sir, I can't figure out why the "lblDate.Caption = Format (Date, "ddd d mmm yyyyy")" returns a compile error message: variable not found? Any help?

    • @DJOamen
      @DJOamen  3 года назад

      lblDate.Caption = Format (Date, "dddd mmm yyyyy")

    • @chanmonanrie6898
      @chanmonanrie6898 3 года назад

      @@DJOamen The same error message still exists? What could be wrong?

    • @chanmonanrie6898
      @chanmonanrie6898 3 года назад

      @@DJOamen I copied your text string above but to no avail.

    • @DJOamen
      @DJOamen  3 года назад

      Private Sub UserForm_Initialize()
      lblDate.Caption = Format(Date, "ddd d mmm yyyy")
      End Sub

  • @cosbywales1927
    @cosbywales1927 4 года назад

    Very good sir, I love it. But can you please create one in Python using tkinter. Please Captain Paul

  • @Dezadna
    @Dezadna 4 года назад

    wow very nice video , i wish more succes for you mr oamen ,
    is there a way to add a copy button that it can copy selected row into an other sheet ? i tried to add codes but it seems to not work for me , any help ?

    • @DJOamen
      @DJOamen  4 года назад

      Yes, you can do it. Watch this video it will show you how to transfer data onto multiple Worksheet: Link corrected:
      ruclips.net/user/videoSZG3sZNYyHc

    • @Dezadna
      @Dezadna 4 года назад

      @@DJOamen somehow the link dosn't open , can you please write the title of it ? and thank you for the reply

    • @DJOamen
      @DJOamen  4 года назад

      Sorry my error, see the correct link below.
      How to Transfer Data from a UserForm into Multiple Worksheet in Excel VBA
      ruclips.net/video/SZG3sZNYyHc/видео.html

  • @faridahmed3152
    @faridahmed3152 3 года назад

    Delete Button is not working, Error Says: Variable is not defined- The variable is --- lst.Display. What should I do?

    • @DJOamen
      @DJOamen  3 года назад +1

      The listbox was changed to lstDisplay
      not (lst.Displsy)

  • @mikhab
    @mikhab 3 года назад

    great video sir but i cant get the file. a little help please. Thanks

    • @DJOamen
      @DJOamen  3 года назад

      Channel Members can Download the Excel VBA Data Entry Form with Update, Search Function and modify it for their own personal use:
      drive.google.com/file/d/1NsW4aZf8cAXaaUJLLpZB_2re4ijarx2H/view?usp=sharing

  • @christopherkinggarcia9690
    @christopherkinggarcia9690 2 года назад

    How about name search instead of reference no

    • @DJOamen
      @DJOamen  2 года назад +1

      Go ahead, and modify it, although, I have other video tutorials with name search on the channel for Excel

    • @christopherkinggarcia9690
      @christopherkinggarcia9690 2 года назад

      @@DJOamen Thank you so much for your kindness

  • @aliebed2200
    @aliebed2200 3 года назад

    Hi sir thank you for this video I like it so much please send me file

    • @DJOamen
      @DJOamen  3 года назад

      Check description

  • @mdexcelpro8495
    @mdexcelpro8495 3 года назад

    I Have just now paid channel membership fee for Rs 59 still no confirmation from your end?

    • @DJOamen
      @DJOamen  3 года назад

      No proof of your membership subscription

    • @mdexcelpro8495
      @mdexcelpro8495 3 года назад

      @@DJOamen provide me your email address i will share the bankers advice regarding the said payment

    • @DJOamen
      @DJOamen  3 года назад

      In my record, I still don't have your details. You can contact RUclips