Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Go to all "FALSE" cells
I need the "go to" feature to find all the cells that are FALSE then delete
and move up all of the rows that have FALSE in the selected column. The particular column I am addressing will either have a number or FALSE and nothing else. Thanks. -- David P. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Go to all "FALSE" cells
Why not filter on FALSE and delete all the filtered rows?
"David P." wrote: I need the "go to" feature to find all the cells that are FALSE then delete and move up all of the rows that have FALSE in the selected column. The particular column I am addressing will either have a number or FALSE and nothing else. Thanks. -- David P. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Go to all "FALSE" cells
Use datafilterautofilter, filter on FALSE and delete the visible rows but
the top row (header row) -- Regards, Peo Sjoblom "David P." wrote in message ... I need the "go to" feature to find all the cells that are FALSE then delete and move up all of the rows that have FALSE in the selected column. The particular column I am addressing will either have a number or FALSE and nothing else. Thanks. -- David P. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Go to all "FALSE" cells
ONe way:
Public Sub DeleteFalseRows() Dim rDelete As Range On Error Resume Next Set rDelete = Columns("D").Cells.SpecialCells( _ xlCellTypeConstants, xlLogical) On Error GoTo 0 If Not rDelete Is Nothing Then rDelete.EntireRow.Delete End Sub Change the column number to suit. This assumes that FALSE is entered as a constant. If it's the result of a formula, substitute xlCellTypeFormulas for xlCelllTypeConstants In article , David P. wrote: I need the "go to" feature to find all the cells that are FALSE then delete and move up all of the rows that have FALSE in the selected column. The particular column I am addressing will either have a number or FALSE and nothing else. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
not displaying "FALSE" in cells | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
"IF" with no "false" action - Using Text | Excel Discussion (Misc queries) | |||
"IF" with no "false" action - Using Text | Excel Discussion (Misc queries) |