+ Reply to Thread
Results 1 to 3 of 3

Deleting a row based on date

  1. #1
    Registered User
    Join Date
    02-20-2007
    Location
    Alaska
    MS-Off Ver
    2003, 2007, 2010
    Posts
    99

    Deleting a row based on date

    I have data that I want to purge if the date is older than one year. The date value is in column H. Here's a logical (sort of) depiction of what i want done:
    Please Login or Register  to view this content.
    This looks at data in the first row, sees if it is older than one year, and deletes it, shifting rows up. Then repeat until cell H15 is within one year.
    Last edited by F6Hawk; 02-23-2008 at 10:58 PM.

  2. #2
    Registered User
    Join Date
    02-20-2007
    Location
    Alaska
    MS-Off Ver
    2003, 2007, 2010
    Posts
    99
    Looks like I was pretty tired, having stayed up until 0600 working on this project with VBA Noob. It was actually very simple:
    Please Login or Register  to view this content.
    Thanks for your patient help, Noob, one or two more little tasks, and I will look like a genius to the customer!!
    Last edited by F6Hawk; 02-23-2008 at 10:58 PM.

  3. #3
    Registered User
    Join Date
    02-20-2007
    Location
    Alaska
    MS-Off Ver
    2003, 2007, 2010
    Posts
    99
    Another method, if you don't have today's date within the current WB:
    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)

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