+ Reply to Thread
Results 1 to 4 of 4

Delete Row If Cell is Blank

  1. #1
    Registered User
    Join Date
    05-25-2015
    Location
    111
    MS-Off Ver
    2013
    Posts
    3

    Delete Row If Cell is Blank

    Hi from Turkey!

    I've a problem. I'm using an "if formula" for take some values from an another sheet. Some cells are coming blank from my formula results. It is OK but I'd like to delete all rows which includes these blank cells. I wrote a code on VBA but it didn't work.

    Can you help me about that? Thanks for your help.

    Example:

    A
    1-----5
    2-----10
    3-----
    4-----
    5-----7

    I want to delete 3rd and 4th rows completely.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Delete Row If Cell is Blank

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Delete Row If Cell is Blank

    Another:

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: Delete Row If Cell is Blank

    Another way:
    If the blank cells are really empty (not '0' or 'false' or something)
    Please Login or Register  to view this content.

+ 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. [SOLVED] Macro Delete Contents in 23rd corresponding cell if the cell in range is a non-blank cell
    By murtaza.khan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-04-2014, 01:11 AM
  2. Delete blank cell to the right
    By markos97 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-13-2013, 02:10 AM
  3. Replies: 1
    Last Post: 05-10-2012, 04:58 PM
  4. [SOLVED] To delete blank rows having blank cell in the needed raws
    By Alexander_Golinsky in forum Excel General
    Replies: 4
    Last Post: 05-04-2012, 03:11 PM
  5. Replies: 1
    Last Post: 02-17-2012, 10:11 AM
  6. [SOLVED] Delete a row if blank cell
    By mohd21uk via OfficeKB.com in forum Excel General
    Replies: 1
    Last Post: 05-04-2006, 08:45 AM
  7. Delete a row if blank cell
    By mohd21uk via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-13-2006, 11:40 AM

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