LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Code for deleting rows?

Phillip wrote:
<<You may be interested in this solution as it is very fast due to no
physical looping of rows.

Not quite true. The code ...

Do While Not IsError(Application.Match...
Rows(Crow).Delete
Loop

.... is, in fact, a loop. It selects each matching row, one by one, and
deletes them, one at a time.

Data Autofiltering techniques may be faster, but take a little more effort
to set up.
--
Regards,
Bill Renaud



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting rows in two columns with a code in visual basic Ruben Excel Discussion (Misc queries) 5 August 27th 08 09:10 AM
VBA Code for deleting rows with specific value Robert[_30_] Excel Programming 2 January 17th 07 09:22 AM
Code deleting all rows in error JOUIOUI Excel Programming 3 June 10th 06 08:39 PM
Help with Chip Pearson's Code for Deleting Blank Rows Rashid Khan Excel Programming 6 June 30th 04 08:53 PM
VBA code for Deleting rows by verification hoffman3 Excel Programming 4 June 3rd 04 08:55 PM


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"