Hello there,
Attached is your original workbook, updated to include a macro which provides the user with a inputbox to enter the date. When the date is entered the macro copies the information from sheet1 to sheet2 and filters the data by the day of the week the date falls on.
To run the code press Alt+F8 and select the FilterMacro and select Run.
To view the code press Alt+F8 and then select Step Into. Anything that appears in green are comments that are there to help you understand the code.
Right now this macro filters into a new worksheet. If you want to filter in place so that the information can be updated delete the following portion below from the code:
Sheets("Sheet1").Select
ActiveSheet.Cells.Select
Selection.Copy
'select sheet2 and paste the information here
Sheets("Sheet2").Select
Cells.Select
Selection.PasteSpecial
Application.CutCopyMode = False
and update the below code
LR = Sheets("Sheet2").Range("A6555").End(xlUp).Row
to look like this
LR = Sheets("Sheet1").Range("A6555").End(xlUp).Row
Let me know how this works for you!
Thanks!
Bookmarks