Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Delete Rows where there are #N/A Values
Hi,
I have a collumn X #N/A X X #N/A #N/A #N/A The #N/A's where produced through vlookups but I have copy paste special so they are value only I have tried the sub LASTROW2 = Cells(Rows.Count, 1).End(xlUp).row For NB = LASTROW2 To 1 Step -1 Cells(NB, 5).Select If Cells(NB, 5).Value = "X" Then Selection.EntireRow.Delete End If Next NB But all rows is deleted Thanks In Advance -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200608/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can anyone tell me how to hide rows that have 0 values and text. | Charts and Charting in Excel | |||
Data values WON'T DELETE in PivotTable drop-downs | Excel Discussion (Misc queries) | |||
Delete empty rows from print in Excel | Excel Worksheet Functions | |||
Count on multiple values with duplicate rows | Excel Worksheet Functions | |||
copy exact values from RangeA to Range B which has extra rows | Excel Discussion (Misc queries) |