Sub Step3() Dim i As Long With Application .Calculation = xlCalculationManual .ScreenUpdating = False For i = Selection.Rows.Count To 1 Step -1 If Selection.Cells(i, 1) = "" And (Selection.Cells(i, 2) = 0 Or _ Selection.Cells(i, 2) = "0.00") Then Selection.Rows(i).EntireRow.Delete End If Next i .Calculation = xlCalculationAutomatic .ScreenUpdating = True End With End Sub
In the scenario above, when it finds a number which has some 'corresponding' blank fields underneath it, yet has some
99999 0.00 1,898.00 2.00 2000.00 12345
99999 2000.00 0 0 12345
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE