• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. C

    Search for cell value and then delete that row and 2 rows above

    Hi Luke, I copied all of your code in your updated post but it still errors with the same message, pointing to the same highlighted (new) line of code. For i = Range(MyCol & "65536").End(x1Up).Row To 1 Step -1
  2. C

    Search for cell value and then delete that row and 2 rows above

    Thanks for the quick reply. I replaced that line in my macro but I get a Run-time error '1004' error. Application-defined or object-defined error. When I hit debug it highlights this line in my code: For i = 1 To Range(MyCol & "65536").End(x1Up).Row Step 1
  3. C

    Search for cell value and then delete that row and 2 rows above

    So I have this macro to seach for a value and delete the row, but I need to also delete the next 2 rows above. We start at the bottom, row 65536 and step up looking for the "My Val" and then delete that row -- I need to keep that AND delete the next 2 rows above. ********* Sub Delete() Dim...
Back
Top