VBA User Form: Add, Update, Delete and Save

Поділитися
Вставка
  • Опубліковано 4 чер 2023
  • In this video, we create an Excel data entry form with UserForm VBA.
    You can add, update, delete and save the data.
  • Наука та технологія

КОМЕНТАРІ • 30

  • @seymourtompkins
    @seymourtompkins Місяць тому +1

    I have to admit, this is the BEST video of its kind (believe me, I've viewed a ton of them). I learned a ton in a very short period. The solution is quite polished and professional. It almost makes me want to skip using my database (almost!).
    Btw, a tiny suggestion- perhaps a better electronic voice. Otherwise, perfect tutorial.

  • @tropicaland3040
    @tropicaland3040 День тому

    Great work. I was waiting for such a video like this.thanks a lot

  • @TheGuggo
    @TheGuggo Місяць тому

    Very professionally made and useful.
    Some suggestions: name the command buttons with their action instead than with a number. When going through the code is much easier to navigate.

  • @lstevens1512
    @lstevens1512 4 місяці тому

    This actually works great. Very professionally done. I was able to relabel it and add more columns to match my spreadsheet at work and was successful.

    • @hay_kel
      @hay_kel  4 місяці тому

      Thanks for the comment and for watching! 😊

  • @neelslombard4233
    @neelslombard4233 3 місяці тому

    I have a second question, how do I add unique ID codes? instead of the normal 1,2,3,4.... I would like to add a ID that reads AP-1, AP-2 and so on. What would I have to add or change in the existing code?

  • @POMI_Singing_Guru
    @POMI_Singing_Guru 4 місяці тому

    EXCELLENT,,,,,,,,,,,,,,,, YOU ARE THE SUPERB MENTOR.......... I LEART ALOT AND YOU HAVE AMAZING STYLE OF TEACHING

    • @hay_kel
      @hay_kel  4 місяці тому

      Thanks for the comment and for watching! 😊

  • @faizalmarjudi7144
    @faizalmarjudi7144 9 днів тому

    Hi there, great video and easy to follow. I have a question, how can we add data from the top row, meaning the latest data entry will be in the 1st row while the old data will go down. I would really appreciate if you can assist me. Thanks

  • @ahmedelwaraky5
    @ahmedelwaraky5 4 місяці тому

    this video help me a lot so thank u my friend , go ahead

    • @hay_kel
      @hay_kel  4 місяці тому

      Thanks for the comment and for watching! 😊

  • @WeltonMadureira
    @WeltonMadureira 2 місяці тому +1

    Can I make a dynamic search at the same VBA User form??

  • @ProGamer-yn8vh
    @ProGamer-yn8vh 3 місяці тому

    i have a Problem if i press on Save it will save in ecxcel but on the first raw, then wenn i but new data in vba and press on Save it will delet the old won and replaced it with the new won? it will notput automatikli in the new raw now it just replaced the old with the new won. What can i do to chnage this?

  • @neelslombard4233
    @neelslombard4233 3 місяці тому

    Great video on coding in VBA. I just have one slight problem and I'm not sure where I went wrong, as I copied each step as the video went along. My workbook is setup slightly different as to what is used in the video, but same principal. My issue is when I add my data to the spreadsheet, it starts at A3 with ID code 2. I tried completing row 2 manually by adding ID 1 in A2 and filling in the rest of row 2. But as soon as I add new data through the Userform, it skips one row(A4) and enters all the data in A5 with ID code 4. I ran through my coding several times to make sure everything matches what the tutorial explained, but yet it keeps skipping that one line. I tried doing a update on the skipped line, but as soon as new data is loaded it skips the last row. Please help, I do not want to do this all over again.

  • @GerhardtKruger
    @GerhardtKruger 2 місяці тому

    HI get this error in yellow when vba tested sh.Range("A" & selected_row).EntireRow.Delete please advise

  • @jacksetiyono6179
    @jacksetiyono6179 Місяць тому

    thanxs bro...

  • @commoditycontrolserviceslt6655
    @commoditycontrolserviceslt6655 3 місяці тому

    Excellent Job

  • @deltagalilvietnam
    @deltagalilvietnam 3 місяці тому

    thank you so much really great.....
    if i want the latest ID added always on top , how can i do that?

  • @WeltonMadureira
    @WeltonMadureira 2 місяці тому

    I Tried to add another ComboBox at this User Form but I can't make it work, can you help me?

  • @Grendel-mq2ji
    @Grendel-mq2ji Місяць тому

    i did exactly in the video but error in delete function, "delete method of range class failed"
    ??????

  • @nellylee1952
    @nellylee1952 Місяць тому

    very good

  • @amitsinghzx
    @amitsinghzx День тому

    Can i get this file for practice 😊

  • @houssamel_hassani9779
    @houssamel_hassani9779 3 місяці тому

    I have an execution error -2147352571 with ( .ColumnWidths = "30,40,100,110,70,90" ), solution ?

  • @samnangsuonsokunth8719
    @samnangsuonsokunth8719 4 місяці тому +1

    sir if delete the row the serial number auto update or not sir

  • @jacksetiyono6179
    @jacksetiyono6179 Місяць тому

    man am try to Add serch box for this but not work man.. can u making tutorial for next video..?

  • @Ls_eL
    @Ls_eL 2 місяці тому

    احتاج الملف تحميل

  • @ousmanesidibe951
    @ousmanesidibe951 Місяць тому

    Looks ai generated but still wonderfull