+ Reply to Thread
Results 1 to 2 of 2

Deleting rows based on data in a specific cell

  1. #1
    Registered User
    Join Date
    06-15-2010
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Deleting rows based on data in a specific cell

    Hey everyone,

    So I'm trying to format a large series of data involving names and addresses. Some of the rows however consist of names and no addresses while most of it consists of names with addresses.

    What I want to do is design a macro to delete all rows that include names and no addresses.

    The way its formatted is column A and B consist of first and last name while column c consists of the address so a macro would have to essentially scan column c for all cells with no data and then delete the corresponding row associated with that cell.

    I've just been stumped on exactly how I would go about doing that.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Deleting rows based on data in a specific cell

    Have a look at Paul's reply here:

    http://www.excelforum.com/excel-prog...elete-row.html

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

+ 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