Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub DeleteRows_With_Zero()
FindString = "0" Set b = Range("C:C").Find(what:=FindString, lookat:=xlWhole) While Not (b Is Nothing) b.entirerow.Delete Set b = Range("C:C").Find(what:=FindString, lookat:=xlWhole) Wend End Sub Gord Dibben MS Excel MVP On Tue, 24 Jun 2008 13:44:00 -0700, mike wrote: How can I delete certain rows of my worksheet that has a specific value in a specific column. For example, delete all rows that have a value of '0' in column 'C'?? Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete Rows based on value | Excel Worksheet Functions | |||
Delete Rows if any cell in Column H is blank but do not Delete Fir | Excel Programming | |||
Code help, delete rows based on column criteria | Excel Discussion (Misc queries) | |||
Delete rows based on value... | Excel Programming | |||
Delete Rows based on criteria in Column A (not working) | Excel Programming |