+ Reply to Thread
Results 1 to 3 of 3

Delete rows based on blanks

  1. #1
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Delete rows based on blanks

    Attached is a spreadsheet where column A has data.

    How do I code a macro to delete an entire row is everything after column A is blank?
    Attached Files Attached Files

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Delete rows based on blanks

    Hi dagindi, I'm not entirely sure about what it is you want here. You want to delete a row if every cell in the row is blank after column A? What if column ....AJ, has data in it, you would keep that then?
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Delete rows based on blanks

    Please Login or Register  to view this content.
    As a note, some of the rows with the text in column A highlighted red did indeed have data in the row in another column (for example, Austria, Azerbaijan, etc.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ 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