Hi All,
I am trying to write some code that runs through a column in excel and checks if the date within each row in that column falls between two dates that are enter by the user as start date and end date. Unfortunately, it is not working!!
Could someone please help me. It seems straightforward but somehow it doesnt quite work. Here is the code:
Please Login or Register to view this content.
***********
If DStartdate = 08/30/2012 and DEndDate = 08/31/2012 then it seems to only count all records where date aka ActiveSheet.Range("H" & i) = 08/30/2012 but it ignores all dates that = 08/31/2012.
I'm down to my last few hairs!! Please help.
THANKS!!!
Bookmarks