• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1095
  • Last Modified:

delete entire row if cells in column V are less than zero

can an expert provide me with VBA code that will delete entire row if cells in column V are less than zero

Thanks in advance
0
Jagwarman
Asked:
Jagwarman
1 Solution
 
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
For introw = 9999 To 1 Step -1
    If Cells(introw, 22) < 0 Then
        Rows(introw).Delete Shift:=xlUp
    End If
Next
0
 
JagwarmanAuthor Commented:
Great thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now