How To Create An Excel Data Entry Form With A UserForm - Full Tutorial

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

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

  • @jamesparish-bassett7006
    @jamesparish-bassett7006 5 лет назад +16

    Hey there, thanks very much for this very useful guide. I just wanted to let you know that if you change the For statement in the Delete code just a little, you can stop the user from deleting the headings and crashing the macro. Specifically, change For i = 0 -> For i = 1 - that's it. The full code would be:
    Dim i As Integer
    For i = 1 To Range("A65356").End(xlUp).Row - 1
    If lstDisplay.Selected(i) Then
    Rows(i + 1).Select
    Selection.Delete
    End If
    Next i
    Thanks again, James.

    • @DJOamen
      @DJOamen  5 лет назад +4

      James well spotted, thanks for the valuable contribution

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

    Capt has been helping us for many years he is one of the best, hope you have a goodhealth and nice day Capt!
    Till now

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

      Thanks man, and stay blessed

  • @215adh
    @215adh 5 лет назад +6

    This is great! Exactly what I was looking for. Thank you.It took me a little bit to understand that "lstDisplay" was the name of the Display box and I had a text box instead of a list box but once I figured that out it worked perfect.

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

    Simple straight to the point, it's amazing that you managed to do this form with so few lines of code, you are a genius !
    Thank you !

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

      Glad I could help!

  • @eyonnealchristmas3974
    @eyonnealchristmas3974 Месяц назад

    Very good. You created an easy to follow tutorial. Thank you😊

    • @DJOamen
      @DJOamen  Месяц назад

      Glad it was helpful!
      I like all your videos, although comments are turned off, nice one bro.

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

    Still working. Thanks very much. I had trouble with the display section but figured out in the end.

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

      Excellent!

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

      @@DJOamen Very many thanks DJ, the most useful instructional material on the internet. I am following your Python database video now, exactly what I have been looking for.

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

    This is a great tutorial and covers everything that I was looking for.

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

      Glad you enjoyed it!

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

    thank you sir Oamen learn a lot from your video as beginner using VBA

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

      Glad to hear that

  • @currentpeace
    @currentpeace 5 лет назад +1

    Thank you very much. This is one of the most valuable videos to me. I've solved a problem, and learned the things I need from VBA very easily, to use them in the future.

  • @AmjadBuriro26523
    @AmjadBuriro26523 5 лет назад

    Thank you Sir. This is really informative. I can not understand, why some people have disliked such a great video?

  • @codalisa007
    @codalisa007 5 лет назад +1

    Excellent tutorial. One of the best on I've seen on RUclips.

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

    Practically useful and coding is much shorter and faster yet effective

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

      Indeed it is!

  • @NasrullahNMPS
    @NasrullahNMPS 5 лет назад +5

    Thank you very much sir. This is amazing. This really helped me in writing data about students in school.

    • @DJOamen
      @DJOamen  5 лет назад +1

      Well done, Nasrullan. I am very pleased with your effort and you made my day. 👍

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

    Thank you for this video, its easy to understand and learning new skills....

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

      Glad it was helpful!

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

    Very nice detail explanation. Almost covers everything. I like very much. I would like to know these buttons were added in the third frame or at the bottom of 2nd frame...? will watch few time more and follow to make couple of sheets.

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

      That's the spirit, good on you 👍

  • @machoolaka-yl3nj
    @machoolaka-yl3nj Год назад

    Amazing, your really good lecturer

  • @MrAlishahgillani
    @MrAlishahgillani 5 лет назад

    great sir my first achievement because of you, you struggling to change the world i appreciate you and love you with thanks to do this for us

    • @DJOamen
      @DJOamen  5 лет назад

      Yes, and that's correct, is your first achievement and believe me you can achieve more. Keep watch my video and you will learn some more. Well done 👍👍👍

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

    Thanks for everything and the awesome lesson!!!

  • @Exceltrainingvideos
    @Exceltrainingvideos 4 года назад +5

    I loved this video! Superb.

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

      Hello Dinesh Kumar. Is very good to see your comment on my channel, I regularly visit your channel. Thank you so much, you made my day.

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

    Thank you, Sir! I find it a very simple and easy Data Entry form. Thank you!

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

      Glad it was helpful!

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

    Very easy to follow and understand, highly recommended. Thank you.

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

    Excellent presentation and tutorial too.

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

      Glad you liked it!

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

    This has helped me tremendously. Thank you.

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

      Glad it helped!

  • @mariolopez592
    @mariolopez592 4 года назад +3

    Your a Legendary Instructor! I Really Commend You! Thanks A Lot !!

  • @simonjoserodriguezbrito423
    @simonjoserodriguezbrito423 5 лет назад

    Outstanding tutorial Sir. Simple and very easy. Thank you so much.

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

    I love your work and explanation flow. Great job.

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

      Glad you liked it!

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

    thank you very much for this amazing tutorial... 10 stars

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

      You're very welcome!

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

    Great video and explanations, but I was curious why you always use the entire worksheet range (eg. A65XXX to [lastcolumnused]65xxx) when there are more efficient ways of finding the last row and column that are dynamic relative references to the active sheet? ie: lastRow = Range("" & Rows.Count).End(xlUp).Row - finds the last row

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

    Good tutorials i hope upload more videos

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

      Thanks, you can check out my Excel playlist, see the link below.
      ruclips.net/p/PLQNM7btXnKMs3ln8i-A0J3N7W9vRtwAvz

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

      Ok sir i follow your page i hope poste more videos

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

    Nice tutorial captain... i like it much thanks

  • @thebesttechnical3608
    @thebesttechnical3608 5 лет назад

    Thanks for sharing a good and fast way.

  • @mozammelhaque2725
    @mozammelhaque2725 5 лет назад

    Nice teaching. Interesting

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

    THIS IS AMAZING....... LOVE IT

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

      Glad it was helpful!

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

    Thank u its very use full for me

  • @alexadavis21
    @alexadavis21 5 лет назад +1

    Hi there. The delete button does not work for me with the given code:
    Dim i As Integer
    For i = 1 To Range("A65356").End(xlUp).Row - 1
    If lstDisplay.Selected(i) Then
    Rows(i + 1).Select
    Selection.Delete
    End If
    Next i
    Also - if I add a new record, I cannot click any additional buttons afterward. I can't reset the information after I've submitted a new record and I can't delete any records. What am I doing wrong?
    Also - thank you for your tutorial!

    • @DJOamen
      @DJOamen  5 лет назад

      Correct Code for Delete: Watch the video and check your codes
      Dim i As Integer
      For i = 1 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

  • @lsegypt
    @lsegypt 5 лет назад +1

    One of the best tutorials, thank you

  • @emarcos40
    @emarcos40 5 лет назад

    Great input. Thanks DJ Oamen

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

    .
    Thank you..
    will get back
    .

  • @macolloyd3242
    @macolloyd3242 5 лет назад +1

    Many thanks for your example

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

    You're amazing sir, I found your videos to be very useful. Though I would like to know how you separated you list box and buttons. I had to use the same frame for the buttons and list box combo and so I have problem, the sheet isn't connecting to the listbox.

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

      Use frames to separated your listbox and buttons, and
      at 29:24 minutes of the video you will see how the sheet was linked to the listbox

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

    Very informative, thank you

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

      Glad it was helpful!

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

    a marvelous video and it's super amazing how you explain each and everything, but would you be so kind enough to share the code source file? it could be a bit tense to type the whole thing from pausing the video again and again.
    Best Regards,

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

      In the description

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

    Thank you DJ Oamen. Its very simple and effective solution. Just one quick question. On my selecting a row from listbox for deletion, VBA deletes one row above and now the row that i have selected. Am i missing something?

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

      See the description area of the video for correction.
      Subscribe to my channel

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

    thanks for the video, just excellent

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

    Excellent,
    How to save delete data another sheet?

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

      Implement a function to save deleted data

  • @khachapuri1600
    @khachapuri1600 5 лет назад

    Great tutorial, thanks for this

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

    Is there a way to add in combo boxes and list boxes? (instead of Text boxes only)? Thank you.

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

    Sir plz tell me which Excel version you use

  • @Helena-zv3tf
    @Helena-zv3tf 3 года назад

    Is there a way to link the owner of this sheet to a master sheet?
    Context: Staff A handles his set of clients (and the information will be maintained in his sheet); however, when he onboards a new client, we need to simultaneously be able to copy the information over to a master sheet (that is visible by the department manager). Thanks!

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

    Does this include database or just gui?

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

    iloveyou bro from philippines

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

      love you bro❤👍

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

    Thank you very much Sir. How can I contact you? I have a question

  • @vasily2022
    @vasily2022 5 лет назад

    Brilliant! Thanks.

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

    Amazing

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

      Thank you! Cheers!

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

    Wow nice

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

    I am getting error message "Compile error, Variable not define. I followed exjact code from your presentation, would you pls suggest, thanks

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

      You have to define the missing variable

  • @ngosachanda8786
    @ngosachanda8786 11 месяцев назад

    The delete code is not working on my form what could be the problem?

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

      Correct Code for Delete:
      Dim i As Integer
      For i = 1 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

  • @raphaeladedayo7401
    @raphaeladedayo7401 5 лет назад +2

    Many thanks DJ for this. My question is can I have a userform for each worksheets in my workbook

  • @deetoxd
    @deetoxd 5 лет назад +1

    Can I add a dropdown list and dependant dropdown list in the form?

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

    Hi sir I have questions in frame3 is that a listbox?

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

      Yes, it's a listbox

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

    Hi, I was wondering how do you managed to have all the codes together (one after the other) I have been trying to do the same as you do but I cannot seem to get that to work. Also, I copied the same code as your "Reset" command but I cannot get it to work. do you know why?
    Ps. Great video

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

      Did you reference the frame?
      Watch this and see how I have referenced the frame, see the link below, and also the codes used.
      ruclips.net/video/uiO4qYCBNsk/видео.html
      Dim del
      For Each del In Frame3.Controls
      If TypeOf del Is msforms.TextBox Then
      del.Text = ""
      End If
      Next del

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

    Great video. Thank you for posting.
    I’d really like to be able to search for a field and edit it. Would you be able to assist with that?

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

      Tutorial with search function 1: ruclips.net/video/HjgbLXlc2tQ/видео.html
      Tutorial with search function 2: ruclips.net/video/C0tCqwpbCBg/видео.html

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

      @@DJOamen thank you sir. I appreciate it. Stay safe.

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

    Why my delete button always delete the one i selected above?

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

      See the correct code in the Description area of the video tutorial

  • @zuherguiafar2218
    @zuherguiafar2218 5 лет назад

    I got little problem on lstDisplay box. Whenever I delete selected item it deleted the item above that selected one. How can I fix this?

    • @DJOamen
      @DJOamen  5 лет назад

      Correct Code for Delete is on the description area, also see below:
      Dim i As Integer
      For i = 1 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

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

    Thank you for the tutorial, it's worth the time. Please could you help me with this thing that is confusing me? I want to multiply two of the variable and store them in one of the columns. EG: I want to multiply "AddNew.Offset(0, 6).Value = txtRate" and "ext
    AddNew.Offset(0, 7).Value = txtTotalHours.Text" and store in "txtTotalCost.Text" but I'm not getting a response...

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

      You are going about it the wrong way, easy way out is to complete the calculations using variables and then use AddNew.Offset to embed your result into the worksheet.

  • @armanf
    @armanf 5 лет назад

    Hi! sir I'm having a problems on reset button only one frame clear but the other frames are not ? this is my code base on your instructions :
    Dim iControl As Control
    For Each iControl In Me.Controls
    If iControl.Name Like "txt*" Then iControl = vbNullString
    Next

    • @DJOamen
      @DJOamen  5 лет назад

      Yes it is correct, but you must address the frame
      For example:
      For Each iControl In Frame2.Controls
      If iControl.Name Like "txt*" Then iControl = vbNullString
      Next
      OR
      For Each iControl In Frame1.Controls
      If iControl.Name Like "txt*" Then iControl = vbNullString
      Next
      You can only use Me.Controls, if the components are not on a Frame. Good luck

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

    please i have subscribed but i cant Channel Member Download the Data Entry Form With UserForm in Excel VBA source code

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

      Isaac, you are not a channel member, click on the link below to join:
      Join this channel to get access to codes, perks, and see more interesting videos. ruclips.net/channel/UCFtw9CfTfMKU9aHZsT2teYgjoin

  • @pemowangdi2265
    @pemowangdi2265 5 лет назад

    Hello Sir, Thanks a lot for your video and it really helped me. Can you tell us how to automatically generate the bill number or any number we need in userform. (Eg. If we are making any kinds of bill)

    • @DJOamen
      @DJOamen  5 лет назад

      By using VBA code on userform or saving all outcomes of the worksheet. Thanks

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

    I have paid the subscription however i still cannot download the content

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

      You have to click on the source code that you want to download because I have not received any request from you.
      Click on the link below, to gain access to the source code:
      Channel Members can Download the Excel Data Entry Form project and modify it for their own personal use:
      drive.google.com/file/d/19s78vO7WUDpnB4VnFLu8QvmPkjDH_qlT/view?usp=sharing

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

    Hi sir I am watching all your video Plss help me how to auto generate alpha numeric serial number in userform initialisation like INV001, INV002…..

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

      Add a commandbutton and a textbox, then copy and paste the code below into you commandbutton. Make sure you subscribe to my channel
      Dim prefix As String
      Static reference As Integer
      ' Increment the reference each time the button is clicked
      reference = reference + 1
      prefix = "INV"
      TextBox1.Text = prefix & Format(0, "00") & reference
      For example, see below:
      Private Sub CommandButton2_Click()
      Dim prefix As String
      Static reference As Integer
      ' Increment the reference each time the button is clicked
      reference = reference + 1
      prefix = "INV"
      TextBox1.Text = prefix & Format(0, "00") & reference
      End Sub

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

      @@DJOamen thank you so much sir 😊😊😊

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

      You're welcome. Did you subscribe to my channel?

  • @ramachandrannatarajan4234
    @ramachandrannatarajan4234 5 лет назад

    Brilliant

  • @cheesepun
    @cheesepun 5 лет назад

    Thank you! Great work, very well explained.
    Can we add Edit Tab on the same

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

    When u delete from the listbox how does it know to delete in the worksheet as well ?

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

      Selection.Deleted
      The codes below take care of that:
      Dim i As Integer
      For i = 1 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i
      End Sub

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

      @@DJOamen what time stamp in the video did he write that

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

      That's the delete function, is also written on the description area of the video

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

      @@DJOamen yes and you corrected it by i +1 because the listbox index starts with zero

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

    I am getting a 'Run-time error '1004'
    Application - defined or object-defined error when I try to add a record. Any clues? Overall it is an amazing video. Well Done!

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

      Check your codes

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

      @@DJOamen Yeah I did! Line by line and still doesn't work. I am using Excel 2016

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

      Try this:
      Dim wks As Worksheet
      Dim AddNew As Range
      Set wks = Sheet1
      Set AddNew = wks.Range("A65356").End(xlUp).Offset(1, 0)
      AddNew.Offset(0, 0).Value = txtRef.Text
      AddNew.Offset(0, 1).Value = txtFirstname.Text
      AddNew.Offset(0, 2).Value = txtSurname.Text
      AddNew.Offset(0, 3).Value = txtAddress.Text
      AddNew.Offset(0, 4).Value = txtPostCode.Text
      AddNew.Offset(0, 5).Value = txtTelephone.Text
      AddNew.Offset(0, 6).Value = txtDateReg.Text
      AddNew.Offset(0, 7).Value = txtProve.Text
      AddNew.Offset(0, 8).Value = txtMemberType.Text
      AddNew.Offset(0, 9).Value = txtMemberFees.Text
      lstDisplay.ColumnCount = 10
      lstDisplay.RowSource = "B1:J65356"

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

      @@DJOamen I apologize! It worked. Not sure what was wrong. Thanks a lot!

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

    1. How can you send that form to someone far away from you to his/her particulars online.
    2. How can you do that sheet 1, sheet 2 sheet 3, sheet 4... So that different groups can fill their sheet using the same form

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

      Share it and enable editable

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

    the reset command doesnt work for me .any suggestions ??

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

      Check your codes

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

      @@DJOamen i checked twice but didn't find the problem plz can you help me its for a study project

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

      What is the name of the Frame on your project called e.g Frame1, or Frame2, or Frame3, you will have to address the frame by number. See example below
      Dim txt
      For Each txt In Frame2.Controls
      If TypeOf txt Is msforms.TextBox Then
      txt.Text = ""
      End If
      Next txt

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

    How can I get a copy of the coding for this form?

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

      Become a channel member

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

      DJ Oamen I did subscribe. It that the same thing? If not, then how do I become a member? I am new to you tube.

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

      To Become a Channel member click on the link below to JOIN:
      ruclips.net/channel/UCFtw9CfTfMKU9aHZsT2teYgjoin

  • @alimarjanafridi1323
    @alimarjanafridi1323 5 лет назад

    useful for us

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

    I am facing a problem in downloading the code / file .. i already sent you a request to enable me but i have not received anything till now !!!!

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

      Join this channel to get access to codes, perks, and see more interesting videos. ruclips.net/channel/UCFtw9CfTfMKU9aHZsT2teYgjoin

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

      I have joind the channel but i still cannot download due to the access on the Google drive

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

      Can you send me your email so that I can grant you access. I think your membership name is different and that may be reason we are not receiving your request. Forward email, I promise to delete it from public view.

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

      I can send you screenshot as a confirmation of my membership

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

      Any good news ?

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

    How do you protect the header row? If I delete too many rows, the header row is deleted and interrupts the code.

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

      Set up heading, see details on this video tutorial after about 19:24 minutes you will see how headings are set up. ruclips.net/user/videor2M2H_akGZk

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

    The reset buttons wouldnt work for me after I put the codes in. I'm going watch the rest of the video, maybe I missed something.

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

      Check your codes

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

      @@DJOamen reset button would work
      Private Sub reset_Click()
      Dim iControl As Control
      For Each iControl In Me.Controls
      If iControl.Name Like "txt*" Then iControl = vbNullString
      Next
      End Sub

  • @rafikismail29
    @rafikismail29 5 лет назад

    Hi capt. Paul Oamen
    Excellent tutorial.
    delete button will not work at all
    worked 3 times now does not checked code all correct

    • @DJOamen
      @DJOamen  5 лет назад

      See the Correct Code for Delete below: It was on the description area of the video
      Dim i As Integer
      For i = 1 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

    • @rafikismail29
      @rafikismail29 5 лет назад

      Hi capt. Paul Oamen
      solved the problem
      deleted sub form initalise. all working now
      Thank you very much

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

    How did you create the display window?

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

      I used a UserForm and VBA codes

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

    Thanks a lot for a great tutorial - It has been a big inspiration and help!
    If I want to search for a specific reference no - how would you solve that?
    Br

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

      Check out this tutorial with search function: ruclips.net/user/videoHjgbLXlc2tQ

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

    Why it didn't delete the selected data/row?

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

      See description area for the correct code

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

    the delete button is not deleting the exact selected row but it deletes the previous row, why?

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

      See the Description area of the video for the correct codes for delete

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

    where the lstdisplay come from?it's not working .how can i fix it?

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

      lstDisplay is the ListBox

  • @xbannie
    @xbannie 5 лет назад

    Thank you for this great video. you skipped how you created the button, please how do I bring my button to the form? I created from the excel using insert but I cannot bring it to my form.

    • @DJOamen
      @DJOamen  5 лет назад

      Watch this tutorial you will see how the buttons are created:
      ruclips.net/video/PZ3PLD9SGtg/видео.html

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

    Dear Sir, I m kindly appreciating your good data entry project in excel above video, but I want to insert the Edit button in order to edit the data by selecting row in list box . How can I code for this demand kindly request your instruction thanks sir

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

      Watch the video and try pay attention to details

  • @AhmedAdel-me4ui
    @AhmedAdel-me4ui 5 лет назад

    perfect

    • @DJOamen
      @DJOamen  5 лет назад

      Thanks, bro. 👍👍

  • @ramachandrannatarajan4234
    @ramachandrannatarajan4234 5 лет назад

    Genius

    • @DJOamen
      @DJOamen  5 лет назад

      👍👍 THANK YOU

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

    genuis

  • @pratasp7320
    @pratasp7320 5 лет назад

    Why you use "i" before the variable name ? Sorry if you had said in video, my english is not so good.

    • @DJOamen
      @DJOamen  5 лет назад +1

      Is just my way of naming variables sometimes.

    • @supersolidsnake23
      @supersolidsnake23 5 лет назад

      @@DJOamen reset is not working?

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

    Can i have your code please?

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

      Check description

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

    Has any of you actually made any money doing this type of work from home? I'm considering giving this a shot. I'm very good with computers and excel. I'm just leery of online "work"

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

      Yes, you will make some money, if you meet RUclips Monetisation requirement, but don't give up your day job. Good luck

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

    For me it had module no form ):

  • @reyahnybut655
    @reyahnybut655 5 лет назад

    I have a problem on delete cmd...

    • @reyahnybut655
      @reyahnybut655 5 лет назад

      Problem in row (i). Select function not defined

    • @DJOamen
      @DJOamen  5 лет назад

      Correct Code for Delete:
      Dim i As Integer
      For i = 0 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

    • @DJOamen
      @DJOamen  5 лет назад +1

      Correct Code for Delete:
      Dim i As Integer
      For i = 0 To Range("A65356").End(xlUp).Row - 1
      If lstDisplay.Selected(i) Then
      Rows(i + 1).Select
      Selection.Delete
      End If
      Next i

  • @bgray79
    @bgray79 5 лет назад

    I don't think your Delete Record code works correctly. If you select the first record in the list box, it's index number is 0, but your code deletes Row(0), which is not an actual row in the sheet. I changed "Rows(i).Select" to "Rows(i + 2).Select" to make this work. I think it appeared the delete code was working because you had many duplicate records. I may have missed something, but I had to change it to work for me. Otherwise, I like this form idea. For data like this, it would probably be better to use MS Access.
    Nice job anyway! Thanks

    • @DJOamen
      @DJOamen  5 лет назад

      Correction is on the video Description area

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

      Same, somehow rows(i + 2) solve delete the correct line for me too.

  • @kalaivanimunusamy1345
    @kalaivanimunusamy1345 5 лет назад

    This type of jobs working from home is safe are not

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

    hi sir how are you. i hope you are good .. sir i need you some help

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

      How🤞

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

      @@DJOamen I have data base file forgot password kindle can you recover for me plz

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

      No can't.