Results 1 to 4 of 4

Macro to delete all row's that contain a #N/A

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Macro to delete all row's that contain a #N/A

    Hello and Thank you in advanced.

    This should be pretty simple but I can't figure it out (sorry i'm a VB newbie)

    I have a 1 tab sheet with 2 columns.

    -column A has all numbers
    -Column B has a Vlook up to compaire against a data sheet displaying #N/A for any number that doesn't match in column B.
    - sorted so all #N/A is at the bottom of the report


    what I want
    - I want a macro that will look at column B and delete any row that contains a #N/A in Column B

    anyone have any ideas?

    thanks.
    Last edited by fireguy7; 01-16-2014 at 01:34 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to delete certain columns and delete rows based on time in another column
    By beepbeep27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2012, 11:47 AM
  2. Replies: 2
    Last Post: 09-13-2005, 12:05 AM
  3. [SOLVED] Macro to delete sheets and saves remaining file does not properly delete module
    By pherrero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2005, 08:12 PM
  4. [SOLVED] Re: Macro to delete sheets and saves remaining file does not properly delete module
    By bhawane in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2005, 01:05 PM
  5. [SOLVED] Re: Macro to delete sheets and saves remaining file does not properly delete module
    By pherrero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2005, 01:05 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