+ Reply to Thread
Results 1 to 4 of 4

Code to delete rows that contain any cell containing #N/A

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010
    Posts
    14

    Code to delete rows that contain any cell containing #N/A

    Can someone help me with a macro that will delete a row from a spreadsheet if it has #N/A in any cell? I have attached my spreadsheet.

    Thanks!

    darkfeld
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Code to delete rows that contain any cell containing #N/A

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Code to delete rows that contain any cell containing #N/A

    John,

    It looks like it worked! Thank you so much!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Code to delete rows that contain any cell containing #N/A

    You're welcome. Glad to help out and thanks for the feedback and the rep!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Changing code from deleting rows to cut/paste rows into another sheet and delete blank row
    By kmarshall6576 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2013, 01:54 AM
  2. [SOLVED] Code to delete rows that do not contain certain text in a cell
    By rwgladwin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2012, 07:45 AM
  3. Code to delete rows based on status code in Column I
    By LemonTwist in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2009, 07:01 PM
  4. VBA Code for deleting rows where cell in column a states "delete row"
    By tnfire in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2009, 06:17 PM
  5. Code to delete rows
    By shanemjo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2005, 02:36 PM

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