+ Reply to Thread
Results 1 to 5 of 5

VBA challenge

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    6

    Unhappy VBA challenge

    How do i delete an entire row if 1 column cell in that row is N/A?

    There are like 30000 rows in entirety.

    I will appreciate any VBA code and how to get this done? Please advise

    Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: VBA challenge

    You don't really need VBA. You could just Autofilter on the column for N/A, select the visible rows and delete them.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: VBA challenge

    Thanks a lot, dude - I never thought of it. I guess this should work.

    Best!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: VBA challenge

    You're welcome.

    For future reference, have a look at the forum rules. You need to use thread titles that describe your problem; I guess that "VBA Challenge" does not comply.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: VBA challenge

    Sure dude! Thanks. I shall.

+ 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