Excel VBA Macro: Delete Rows Faster (Based on Cell Value)

preview_player
Показать описание
Excel VBA Macro: Delete Rows Faster (Based on Cell Value). In this video, we go over how to delete rows 100x faster than in the previous Delete Rows video. Instead of deleting each row directly, this macro filters the desired data, moves it to another sheet and deletes the original sheet; deleting the undesired rows in the process. This method is best used for large data sets. We use the VBA Timer function to compare the length of time it takes to delete rows using both methods to help us see exactly how much faster this method of deleting rows is.

Data used in this video:

Original video "Excel VBA Macro: Delete Rows Based on Cell Value (Zeros and Blanks)":

#ExcelVBA #ExcelMacro
Рекомендации по теме
Комментарии
Автор

OMG. so cool. how to delete with criteria of cell with certain values or multiple criteria? Thank you.

skystar
Автор

Great video but I am running into an issue with the Autofilter. Is there a setting or something in the background that would cause a bug?

dannynakano
Автор

Could I have the output files you use in this videos? Or the code?

jonelatendido
Автор

Good one, thank you for sharing this approach

janezklun
Автор

ive got an error in this area
ActiveSheet("a1").AutoFilter Field:=16, criteria:="462"

teodoroungay
Автор

How to use multiple criteria, not just blanks, but other string values too. Please help me

nellaimuthuvels
Автор

Thanks a lot fam! My boss actually thinks I'm a magician now hahaha!

mishahappy
Автор

this is with reference to your earlier video on deleting entire row
instead of deleting entire row, can I delete just a select rang
my data is upto 9 columns and my 3rd column has values
i want to delete from cell A2:I2 if C2 is zero and then shift the below data up

shreyanshshah