Compare cells to delete rows, value is true but not deleting rows

前端 未结 1 1509
面向向阳花
面向向阳花 2020-12-22 07:00

I\'m trying to compare 2 cells and if its true that row will be deleted, i tried using msgbox to return the value and it shows its true, but row is not deleting. The first c

相关标签:
1条回答
  • 2020-12-22 07:49

    When deleting alway go from the last index to the first. This applies to listboxes, comboboxes, ranges, ...etc.

    If you delete from first to last then you will skip every other row


    0 讨论(0)
提交回复
热议问题