S
sapna
Hi ...
I am very new to writing macros in excel.Though I have found it simpl
there are things that I am getting stuck at.
I have written a code for Deleting of a row for a certain condition bu
whenever I run the particular macro the execution takes a lot of tim
....
I have abot 300 rows in my spreadsheet .... and the code is
For R = Rng.Rows.Count To 1 Step -1
If Application.WorksheetFunction.CountA(Rng.Rows(R).EntireRow) =
Then
Rng.Rows(R).EntireRow.Delete
ElseIf Cells(R, 2).Value = "deleted" Then
Rows(R).Delete
ElseIf Cells(R, 2).Value = "" Then
Rows(R).Delete
ElseIf Cells(R, 2).Value = Null Then
Rows(R).Delete
End If
Next R
Is there a solution to getting around the problem.
Thanking in advance
Sap.
I am very new to writing macros in excel.Though I have found it simpl
there are things that I am getting stuck at.
I have written a code for Deleting of a row for a certain condition bu
whenever I run the particular macro the execution takes a lot of tim
....
I have abot 300 rows in my spreadsheet .... and the code is
For R = Rng.Rows.Count To 1 Step -1
If Application.WorksheetFunction.CountA(Rng.Rows(R).EntireRow) =
Then
Rng.Rows(R).EntireRow.Delete
ElseIf Cells(R, 2).Value = "deleted" Then
Rows(R).Delete
ElseIf Cells(R, 2).Value = "" Then
Rows(R).Delete
ElseIf Cells(R, 2).Value = Null Then
Rows(R).Delete
End If
Next R
Is there a solution to getting around the problem.
Thanking in advance
Sap.