+ Reply to Thread
Results 1 to 5 of 5

delete row if k is empty

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    delete row if k is empty

    Dear all,

    attached with file.

    Our vba code run " delete row if k is empty "

    when we apply vba code in sheet1, we need to press 4 times button.
    Then we get the answer. Actually we should press 1 time button to run.
    Then sheet 1 should become sheet named "answer"

    please help
    Thanks
    Tom
    Attached Files Attached Files

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: delete row if k is empty

    Hi,

    Does this code help you?

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: delete row if k is empty

    Great it solve with thanks

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: delete row if k is empty

    If this is the way you want to do it. (Filtering can be a quicker option), you need to delete from the bottom of the file, rather than the top (its simpler that way with the counting of the row

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: delete row if k is empty

    Thanks Davsth

+ 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] Delete duplicates and delete empty cells
    By Mengo85 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2015, 07:25 PM
  2. delete empty cells in a row, but don't delete the row
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2014, 06:03 AM
  3. Replies: 1
    Last Post: 05-26-2014, 01:31 PM
  4. Delete Empty Rows and empty columns from the word table
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:51 AM
  5. [SOLVED] Delete empty row and then delete duplicate
    By cherrychan in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-12-2013, 07:43 PM
  6. [SOLVED] still have empty cell after run Delete empty cells code
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-25-2012, 04:28 PM
  7. Autofilter/delete empty rows is deleting non-empty rows!
    By oOarthurOo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2010, 12:31 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