Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I delete an enitre row based on one columns number. For example, if
column A has a 5 then the entire row should be deleted and the formula move to the next row. This is what i have, but it is siftong through columns. Sub click() Dim i As Integer Sheet1.Select Sheet1.Range("a2:b5").Select For i = 2 To 6 Cells(2, i).Select If Sheet1.Cells(2, i) 0 Then Sheet1.Rows(i).Delete Next i End Sub PLEASE HELP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I subtract a negative number from a positive number? | Excel Discussion (Misc queries) | |||
Subtracting positive amts from negative and positive from positive | Excel Worksheet Functions | |||
converting a positive number to neg number in spreadsheets | Excel Discussion (Misc queries) | |||
locate positive numbers and delete rows containing | Excel Discussion (Misc queries) | |||
Delete Entire Row in Excel if specific column does not contain a 7-digit number | Excel Programming |