Results 1 to 6 of 6

Delete Entire Row if cell contains specified value

Threaded View

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    17

    Delete Entire Row if cell contains specified value

    Hi, I'm very new to VBA and have come up against a situation that is beyond me and my research through the forums.

    I need to keep everything in rows 1,2 and 3.
    After that, I need to delete all the rows up until the first time a cell in column D contains a percentage and shift all the rows after that up with it. The amount of rows that will need to be deleted changes everyday that I update.

    So when the macro is completed, Row 4 should now be a row that contains a percentage in column D.

    I have attached a sample of the project. In this sample, Row 28 should end up being Row 4 after the macro runs.

    Thanks
    Peter
    Attached Files Attached Files
    Last edited by kosti; 01-05-2015 at 10:26 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. if cell is blank delete entire row
    By thuddleston11 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-26-2013, 03:38 PM
  2. delete entire row if cell value below X
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-18-2013, 04:42 PM
  3. [SOLVED] Delete cell only with certain critria. Don't want to delete entire row, the celsl only
    By RobertOHare in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2013, 04:18 AM
  4. IF cell contains value - delete entire row
    By Chris2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2010, 10:44 PM
  5. Delete entire row when cell says delete
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-27-2007, 11:46 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