The Power of Excel : VBA listbox Datagrid- Delete selected row -PART 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 44

  • @aomar.mezred
    @aomar.mezred 7 ปีที่แล้ว

    Thank you for this course and for the 3 previous ones. They are simple and very clear. Waiting for more courses.

    • @mariusavram1468
      @mariusavram1468  7 ปีที่แล้ว

      Aomar Mezred I’m glad it helps :) will do

  • @stevecartier2904
    @stevecartier2904 5 ปีที่แล้ว

    I realize this is an older video but wondering if you can help me out. In regards to deleting a row by picking the row with this line If Cells(i, 1) = LstDisplay.List(LstDisplay.ListIndex) Then I sometimes have the same data in lets say row 2 and 3 and 4....I need to match column 1 AND also column 2. Or else it just deletes the first row with matching data. I have tried adding AND function in there but don't seem to be able to get it to work.

  • @Excel-power-users
    @Excel-power-users 7 ปีที่แล้ว

    How to populate the data in list box to the text box in the user form one we select the row. Suppose I select row with I'd 3 the data should reflect in the available text box to edit?

  • @DavidthimeBakaya
    @DavidthimeBakaya ปีที่แล้ว +1

    Tank so much

  • @angelodeocampo3643
    @angelodeocampo3643 5 ปีที่แล้ว +1

    Hi, i don't understand why the delete code is not working with me. I follow it all. Please enlighten me on what maybe i missed?..thanks

    • @wattjock2405
      @wattjock2405 3 ปีที่แล้ว

      Most likely your punctuation on the IF MsgBox line
      "Delete Row" = vbYes) Then
      vs.
      "Delete Row") = vbYes Then

  • @ameurchabane6001
    @ameurchabane6001 4 ปีที่แล้ว

    Thanks what about if i have table as listobject?how can'i selected thé item

  • @fransgroeneweg9575
    @fransgroeneweg9575 4 ปีที่แล้ว

    hi, great tut. learn a lot. but there is an differents between part 3 and this part. the datagrid has now an "ID" column. now the SAVE funtion are not working proper. Can you explane how to make it work please.

  • @hwangcesiung8979
    @hwangcesiung8979 6 ปีที่แล้ว

    please help me ...
    how to alignment text or number in listbox columns, but only one column that aligned.and the other column in listbox not changed... for example : the first column aligned left, and the second column aligned right.
    thanks

  • @aomar.mezred
    @aomar.mezred 7 ปีที่แล้ว

    I have a question please.
    I have created a listbox from a dynamic range in another workbook. The range includes the header. When I import the range to the listbox using .List, I have the header with the body of the table not in their appropriate place (inside the rectangles at the top). I have set ColumnHeads to TRUE. What could be the reason? Thanks.

    • @mariusavram1468
      @mariusavram1468  7 ปีที่แล้ว

      Hi Aomar, If you will investigate further you will discover that the only way to have the headers in the appropriate positions is to use the .rowsource functionality. Otherwise you cannot have a header, this is a limitation of the VBA. As an alternative solution you can use the most common workaround for this case which is to add fixed labels at the top of the listbox. Regards,

    • @aomar.mezred
      @aomar.mezred 7 ปีที่แล้ว

      Thanks a lot for your answer. How to add these fixed labels?

  • @zaibakela
    @zaibakela 4 ปีที่แล้ว

    sir can you solve my problem?? i have generate data entry form in vba excel, all are working good, but i want to show "picture" in excel sheet according to in front of "code" how can i do??

  • @asadpatel777
    @asadpatel777 6 ปีที่แล้ว

    When we delete row, the serial number are missing, which is like incomplete view or missing entries. How can we retain the original serial numbers even if delete the row. Plz guide.

  • @charlesarticona5318
    @charlesarticona5318 5 ปีที่แล้ว

    hi, can you continue this tutorial on how to search data when it comes on multiple Sheets? this will help me to finish my project. thank you .

  • @rachmanramadhan3307
    @rachmanramadhan3307 7 ปีที่แล้ว

    How to show the data to listbox but the data in the other worksheet? What's coding to do it ? Thanks

  • @ashokadigoppua7945
    @ashokadigoppua7945 4 ปีที่แล้ว

    Specific range delet how sir
    I dont want entire row delete.

  • @flackvanderdutch3081
    @flackvanderdutch3081 ปีที่แล้ว

    Could you share with us a gdrive file for download ? Thanks

  • @mohamedhasanbasari
    @mohamedhasanbasari 6 ปีที่แล้ว

    I have a question please.
    Listbox i want to copy from another sheet and listbox with dropdown also want to know - 'please can you make one videos

  • @kalumohanty8738
    @kalumohanty8738 6 ปีที่แล้ว

    Could please create a video to delete multiple rows like you posted to delete single row.
    By the way, I have tried using another For Next loop inside it. When I debug.print it gives me rows to be deleted but when it comes to to delete it only delete single row.
    Thank you,

  • @MunawarFairooz
    @MunawarFairooz 6 ปีที่แล้ว

    How to edit list box items and save and update the worksheet

  • @DavidthimeBakaya
    @DavidthimeBakaya ปีที่แล้ว

    I also want for the Search button

  • @nikistro8424
    @nikistro8424 6 ปีที่แล้ว

    What is the code to find the Data Value on different sheet???

  • @shoaib8490
    @shoaib8490 6 ปีที่แล้ว

    i select row on listbox its select and pression delete button come msg & but not delete row ?

  • @samnangsuonsokunth8719
    @samnangsuonsokunth8719 9 หลายเดือนก่อน

    excuse me can you teach me after delete row please show to update row number?

  • @joshbalamban8734
    @joshbalamban8734 6 ปีที่แล้ว +1

    but my data is in table form.how i delete it in table form?

  • @shoaib8490
    @shoaib8490 6 ปีที่แล้ว

    i follow ur rules but when i select its not delete row y can u help me

  • @АлександрБарыкин-ы2я
    @АлександрБарыкин-ы2я 3 ปีที่แล้ว

    Спасибо

  • @mangalhansda571
    @mangalhansda571 ปีที่แล้ว

    After delete row an error is appearing

  • @gannsebastianquiban5060
    @gannsebastianquiban5060 5 ปีที่แล้ว

    It's not working on my project..

  • @Try23again
    @Try23again 7 ปีที่แล้ว

    Super

  • @elsogoncalves5345
    @elsogoncalves5345 7 ปีที่แล้ว

    Good night.
    has to put photo in product.

  • @MohAboAbdo
    @MohAboAbdo 6 ปีที่แล้ว

    Thanks ... Thanks ... Thanks

  • @priteshgala2414
    @priteshgala2414 6 ปีที่แล้ว

    What to did

  • @RamPrakash-hc2no
    @RamPrakash-hc2no 6 ปีที่แล้ว

    send me demo file plz plz sir

  • @anandchaudhari8528
    @anandchaudhari8528 7 ปีที่แล้ว

    START SOMETHING NEW, LIKE HR PROJECT....PLEASE

  • @DavidthimeBakaya
    @DavidthimeBakaya ปีที่แล้ว

    I also want for the Search button