+ Reply to Thread
Results 1 to 2 of 2

Deleting Rows based date validation

  1. #1
    Registered User
    Join Date

    Deleting Rows based date validation


    I am designing a macro which will help me to customise a excel sheet. I am through with most of the part. I am stuck with the following problem:

    I want to delete rows where value in Column H (Contains Date) <= today's date.

    What can be the code for the same?

    Please help
    Last edited by VBA Noob; 03-08-2009 at 10:31 AM.

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365

    Re: Deleting Rows based date validation

    Try this macro, be sure to change the Sheet2 to the name of your sheet, or just run it on that sheet only.
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 03-08-2009 at 05:20 PM. Reason: Shortened code slightly
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


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