Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sandman
Just the symbol "-" or in combination with other stuff like -12? Sub delete_rows() Dim c As Range With Columns("A") Do Set c = .Find("-", LookIn:=xlValues, LookAt:=xlPart, _ MatchCase:=False) 'change xlPart to xlWhole if just looking for "-" alone If c Is Nothing Then Exit Do c.EntireRow.Delete Loop End With End Sub Gord Dibben Excel MVP On Wed, 21 Apr 2004 16:01:35 -0500, "Sandman" wrote: Is there a simple Code to delete a row that contains the symbol "-" in a cell? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hpw do I delete multiple empty rows found between filled rows? | Excel Worksheet Functions | |||
How to Delete empty rows in excel in b/w rows with values | Excel Worksheet Functions | |||
Cut filtered rows, paste into next empty row of new sheet, and delete cut rows | Excel Worksheet Functions | |||
How to delete rows when List toolbar's "delete" isnt highlighted? | Excel Worksheet Functions | |||
delete empty rows between rows with text | Excel Discussion (Misc queries) |