+ Reply to Thread
Results 1 to 2 of 2

Problem With Deleting All Rows Instead Of Certain Rows

  1. #1
    Forum Contributor
    Join Date
    12-22-2004
    Location
    Kokomo, Indiana
    Posts
    236

    Question Problem With Deleting All Rows Instead Of Certain Rows

    I have Windows XP running Excel 2010. Can someone tell me the error in my logic/code? I'm trying to delete any row with a value greater than 1 in column AG. This deletes everything but the title row. What do I need to do to make this work?

    Please Login or Register  to view this content.
    Tony

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Problem With Deleting All Rows Instead Of Certain Rows

    Hi, Tony,

    maybe add SpecialCells(xlCellTypeVisible) for deleting rows?
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1