Hi,
I have a date input by the user......call-it "currentdate".
I want to compare this "currentdate" to a column of dates (say colA) in the following manner.
We would make this comparison to EACH date in column-A.
If month of current date = month of date in col-A AND year of currentdate = year of date in col-A then assign value of "valid" to an array.
This comparison ensures that the date in column A is in the same month if you will as the "currentdate"
I tried the month and year functions but if the value in col-A is not a date then i get a runtime error.
any ideas?
Bookmarks