+ Reply to Thread
Results 1 to 2 of 2

Popup box asking the effective date, so macro can delete any dates < entered date.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Popup box asking the effective date, so macro can delete any dates < entered date.

    Hi,

    I have team data which I pull up from some application. But the data gets pulled up from beginning of the year. I have already ran a macro which does some other thing before coming to this step where i need to delete previous months data so I can work on current month only.

    Is there any coding which popup the input box where I can enter the date and VBA delete the entire rows which is <then date entered in input box?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Popup box asking the effective date, so macro can delete any dates < entered date.

    Hi.

    One way would be to just add a DatePicker control to your sheet and let the Date you select be the Criteria in the Autofilter.

    Say your data is in Columns A:J and the column headers are in row 2..

    Assuming your Date column is in Column A... you could use something like this..

    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