Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A formula cannot delete rows..If you are looking for a macro try the below
Sub DeleteRows() Dim lngRow As Long For lngRow = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -1 Select Case UCase(Range("A" & lngRow)) Case "BE", "IE", "AT" Rows(lngRow).Delete End Select Next End Sub -- Jacob (MVP - Excel) "Radhakant Panigrahi" wrote: Hi, i need to delete the rows where the comment in the column A contains some charaters...for example below are the comment in column A...and i need to delete the rows where the comment in column A is BE, IE and AT. Is there any formula by which the rows with BE, IE and AT in column A can be deleted... DE DE IT IT PT PT IE BE IT BE AT rgds radha |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting rows based on values in a a cell in the row | New Users to Excel | |||
Retain cell reference after deleting rows | Excel Worksheet Functions | |||
excel should allow me to filter rows on basis of the cell color | Excel Worksheet Functions | |||
deleting entire rows with the same cell value in the first column | Excel Discussion (Misc queries) | |||
Deleting rows based on a cell value | Excel Worksheet Functions |