+ Reply to Thread
Results 1 to 4 of 4

macro to delete entire row with a checked box

  1. #1
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    macro to delete entire row with a checked box

    I need a macro to delete a row which contains a checked box. The list I have is about 4 rows which might be increased. I need a macro to run through column B to see if there is a checked box and delete or hide the row if any is detected.

    Attached is the worksheet.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: macro to delete entire row with a checked box

    Try this code...

    Please Login or Register  to view this content.
    Regards,
    Rudi

  3. #3
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: macro to delete entire row with a checked box

    I tried the code but it didn't work as expected . I wanted only rows which have the boxes checked yo be deleted. Your code deletes all the rows whether checked or unchecked .

  4. #4
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: macro to delete entire row with a checked box

    Hi,

    Apologies, I must have missed that detail.

    Use this code:
    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. Macro to delete all rows if checkbox not checked
    By hillmandj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2013, 06:02 PM
  2. Delete entire row if checkbox is checked
    By jeshua56 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 01:54 PM
  3. Delete entire row macro won't work
    By copaaz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2010, 12:18 AM
  4. Macro to delete the entire row
    By Sindhuja in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2008, 10:07 PM
  5. [SOLVED] Help! with Macro - delete entire row
    By Rashid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2006, 05:20 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