+ Reply to Thread
Results 1 to 2 of 2

Rows need to be deleted

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    41

    Rows need to be deleted

    Hello,

    On a weekly basis I will be preparing a report for my customer, now I thought of running this report through Macro. I am a beginner in Macro.

    I will be getting a sheet from customer in that sheet column B will be date column and it will be sorted, later we will be retaining datas till current date and future dates complete rows need to be deleted.

    Here we may or may not have the current date and we might get dates in multiples.

    For eg: if we don’t have today date it should search for previous date and it should retain the data till that date and it should delete completely the future dates rows.

    In this we have another scenario we can get today’s date or previous dates in more than 4 rows, i.e., in B column 8,9,10th rows are today's date(or previous date) and 11th row as tomorrow's date and so on, now when we run the macro it should go and search for today’s date till 10th row it should retain the data’s and from 11th row all the data’s need to deleted, I have attached sample sheet for your quick reference.
    Attached Files Attached Files
    Last edited by kesavanprabhu; 06-12-2013 at 06:04 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Rows need to be deleted

    Is this the same thread?
    http://www.excelforum.com/excel-prog...rent-date.html

+ 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