MACRO to filter based on DATE from a Column containing both time and date.

arham_1987

New Member
Joined
Jan 15, 2013
Messages
5
Hi Guys,

What I'm looking for is to have a macro which would do two things :-


1) A macro which looks at one column which contains date and time in "dd/mm/yyyy HH:MM:SS" , and irrespective of time, filters for the record corresponding to the start date and end date.

2)Since the source sheet is constantly changing,it should refresh the validation list to have only unique dates so that the user shouldnt have to go through a long list to select the start and end dates.


Any help is greatly appreciated :)

Regards,
Arham
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
1) A macro which looks at one column which contains date and time in "dd/mm/yyyy HH:MM:SS" , and irrespective of time, filters for the record corresponding to the start date and end date.

Do you mean that you want to specify the start date and end date as the filter criteria? I.e. that you're searching for entries that fall between two dates? How are you selecting / defining those dates?

2)Since the source sheet is constantly changing,it should refresh the validation list to have only unique dates so that the user shouldnt have to go through a long list to select the start and end dates.

Best regards
Richard
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,558
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top