Hi, please see the attached image; I want to be able to delete on my excel file all the rows that contain that information, but i can't figure this out. Please Help, if is with a macro can someone provide me the code to do it? Thanks By the way im using version 2007
Hi webuxer,
Which kind of information in a row will make that row eligible for deletion.. is it "Delivery Charge"in column F?
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey
+919810929744
dilipandey@gmail.com
Hi, it will be the "3785" number but the "Delivery charge in column F will also work.
Thanks
Hi Webuxer,
You can use following code to delete any row which has 3785 written anywhere :-
Regards,Sub del() Cells(1, 1).Select ActiveCell.EntireRow.Select While ActiveCell.Value <> "" If Application.WorksheetFunction.CountIf(Selection, 3785) > 0 Then Selection.EntireRow.Delete Else Selection.Offset(1, 0).Select End If Wend End Sub
DILIPandey
<click on below 'star' if this helps>
DILIPandey
+919810929744
dilipandey@gmail.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks