+ Reply to Thread
Results 1 to 4 of 4

Deleting Rows Which Have Unwanted Dates (More Than a Week later)

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    49

    Deleting Rows Which Have Unwanted Dates (More Than a Week later)

    Hi, following up on an earlier post.

    http://www.excelforum.com/excel-prog...06#post3279406

    What I'd like to do now with the dates is to delete all rows (apart from the header) which are a week later than the first date (which is in cell A2). This is my code, I'm not sure how to change the range of the loop...

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by clattenburg cake; 06-17-2013 at 07:33 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Deleting Rows Which Have Unwanted Dates (More Than a Week later)

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code in [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Deleting Rows Which Have Unwanted Dates (More Than a Week later)

    also note rule 8 on cross-posting: http://stackoverflow.com/questions/1...tain-cell-down
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Registered User
    Join Date
    10-29-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Deleting Rows Which Have Unwanted Dates (More Than a Week later)

    Sorry, still pretty new to posting on this forum. Will have a thorough read of the rules, here is my cross post: http://stackoverflow.com/questions/1...tain-cell-down

+ 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