Results 1 to 7 of 7

Macro That deletes rows based on date and text

Threaded View

  1. #1
    Registered User
    Join Date
    06-28-2023
    Location
    ney, york ,usa
    MS-Off Ver
    2013
    Posts
    6

    Macro That deletes rows based on date and text

    I'm slowly trying to automate a weekly report that I put together every Monday (sometimes Tuesday). The example I attached is from Monday 7/3 and hope to be able to use this macro on 7/10 or 7/11.

    I need a macro that will delete the row if the text in Column H starts with "auto" ("auto*" if was used in a formula) AND the date in column C is the previous Thursday thru Current date (6/29,6/30,7/1,7/3,7/4) .

    In this example, 8 rows should end up being deleted. This data is usually 15,000 ish rows long and the dates update every week.

    Thank you so much in advance
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help Edit Loop that deletes Rows based on Date condition.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2015, 02:16 PM
  2. [SOLVED] Need Help cleaning up Macro that imports text file and deletes unnecessary rows
    By ppilot in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-16-2013, 10:44 PM
  3. Macro Deletes all rows except....
    By TheDriver85 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-25-2012, 06:37 PM
  4. Macro that deletes rows below a certain value
    By Biased Historian in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 01-15-2011, 09:45 PM
  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
  6. Macro that deletes certain rows only
    By supamari0 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-09-2006, 11:15 AM
  7. Macro that deletes certain rows and not others
    By Roger in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2005, 07:06 PM

Tags for this Thread

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