+ Reply to Thread
Results 1 to 4 of 4

How to write a macro that deletes specific rows?

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    Brussels
    MS-Off Ver
    Excel 2010
    Posts
    28

    How to write a macro that deletes specific rows?

    I upload the following document into Excel and only need the rows where a name is filled in. Cells that are empty or where a 0 is present should be deleted.
    How do I start with this?

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to write a macro that deletes specific rows?

    Is this what you want?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    Brussels
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: How to write a macro that deletes specific rows?

    Yes! Wonderfull

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to write a macro that deletes specific rows?

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED",as per our Forum Rule #9. I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

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

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. Function to write Data to DB from specific rows and colomuns Plus specific Timestamp
    By Mudhafar.M in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 08:01 PM
  2. [SOLVED] Macro which deletes rows
    By kjshep in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2012, 01:09 PM
  3. Creating Excel Macro That Deletes Entire Row with Specific Text
    By Efar68 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2011, 04:33 AM
  4. Macro that deletes specific graphic in sheet
    By mlcfexcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2007, 10:01 AM
  5. Macro that Deletes All rows except first row
    By curtney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2006, 01:22 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