Hi team,
I have an Excel file with 6 data sheets, in each sheet, I wanna remove rows based on data of one column. About 30K data and approximately 15k (half) data are to be deleted within each sheet.
I used tips from the following topic to delete rows deleting-a-row-that-contains-specific-string-t9156.html which works fine functionally. However, performance is a problem for me.
I put a stopwatch to see the time consumption of the DeleteRow method, which took ~100 milliseconds on average.
Therefore for 1 sheet, 15k data, is about 25 mins.
Do you have any recommendations that can speed up this operation? Or is there another good idea to achieve the goal?
Thanks in advance