Advertisement
Advertisement
| 04.14.2008 at 01:53PM PDT, ID: 23321802 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: |
Current Row Delete Code:
Sheets("1250 - BADGER DR").Select
On Error Resume Next
'
iRow = 4
'Find last row and column
iLastRow = Columns(5).Find(What:="*", SearchDirection:=xlPrevious, _
SearchOrder:=xlByRows).Row
Do While iRow <> iLastRow
iRow = iRow + 1
If Cells(iRow, 5) <> "1250" Then
Rows(iRow).EntireRow.Delete
iRow = iRow - 1
iLastRow = iLastRow - 1
End If
Loop
Range("P2").Select
|