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

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

mmaruys

7 лет назад

81,890 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@aomar.mezred
@aomar.mezred - 19.10.2017 20:59

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

Ответить
@aomar.mezred
@aomar.mezred - 19.10.2017 21:40

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.

Ответить
@elsogoncalves5345
@elsogoncalves5345 - 01.12.2017 04:52

Good night.
has to put photo in product.

Ответить
@Try23again
@Try23again - 24.12.2017 12:55

Super

Ответить
@rachmanramadhan3307
@rachmanramadhan3307 - 30.01.2018 19:11

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

Ответить
@anandchaudhari8528
@anandchaudhari8528 - 02.02.2018 15:07

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

Ответить
@Excel-power-users
@Excel-power-users - 08.02.2018 23:19

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?

Ответить
@hwangcesiung8979
@hwangcesiung8979 - 07.03.2018 11:12

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

Ответить
@mohamedhasanbasari
@mohamedhasanbasari - 06.08.2018 23:52

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

Ответить
@RamPrakash-hc2no
@RamPrakash-hc2no - 28.08.2018 16:41

send me demo file plz plz sir

Ответить
@MunawarFairooz
@MunawarFairooz - 13.11.2018 15:38

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

Ответить
@nikistro8424
@nikistro8424 - 16.11.2018 20:22

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

Ответить
@asadost258
@asadost258 - 17.11.2018 18:15

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.

Ответить
@shoaib8490
@shoaib8490 - 19.11.2018 09:17

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

Ответить
@shoaib8490
@shoaib8490 - 19.11.2018 09:43

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

Ответить
@MohAboAbdo
@MohAboAbdo - 11.12.2018 09:29

Thanks ... Thanks ... Thanks

Ответить
@kalumohanty8738
@kalumohanty8738 - 30.12.2018 16:18

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,

Ответить
@priteshgala2414
@priteshgala2414 - 19.01.2019 19:56

What to did

Ответить
@charlesarticona5318
@charlesarticona5318 - 21.03.2019 14:49

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 .

Ответить
@stevecartier2904
@stevecartier2904 - 15.09.2019 06:05

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.

Ответить
@angelodeocampo3643
@angelodeocampo3643 - 29.10.2019 10:41

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

Ответить
@gannsebastianquiban5060
@gannsebastianquiban5060 - 12.01.2020 12:43

It's not working on my project..

Ответить
@zaibakela
@zaibakela - 14.03.2020 15:36

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??

Ответить
@fransgroeneweg9575
@fransgroeneweg9575 - 26.03.2020 09:47

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.

Ответить
@ashokadigoppua7945
@ashokadigoppua7945 - 19.04.2020 16:10

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

Ответить
@ameurchabane6001
@ameurchabane6001 - 06.07.2020 22:50

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

Ответить
@GuyanaVideo
@GuyanaVideo - 11.02.2021 03:29

Private Sub cmdDelete_Click()
Dim i As Integer
If MsgBox("Are you sure you want to delete this row?", vbYesNo + vbQuestion, "Delete row") = vbYes Then
For i = 1 To Range("A2:Al1000").End(xlUp).Rows
If Cells(i, 1) = ListBox1.List(ListBox1.ListIndex) Then
Rows(i).Select
Selection.Delete
End If
Next i

End If

End Sub

I keep getting Run time Error 13

Ответить
@АлександрБарыкин-ы2я
@АлександрБарыкин-ы2я - 05.03.2021 04:39

Спасибо

Ответить
@DavidthimeBakaya
@DavidthimeBakaya - 07.06.2023 14:35

Tank so much

Ответить
@DavidthimeBakaya
@DavidthimeBakaya - 07.06.2023 14:37

I also want for the Search button

Ответить
@DavidthimeBakaya
@DavidthimeBakaya - 07.06.2023 14:42

I also want for the Search button

Ответить
@mangalhansda571
@mangalhansda571 - 26.07.2023 22:29

After delete row an error is appearing

Ответить
@flackvanderdutch3081
@flackvanderdutch3081 - 09.11.2023 14:41

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

Ответить
@samnangsuonsokunth8719
@samnangsuonsokunth8719 - 24.03.2024 07:48

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

Ответить