I want to locate the position of two dates inside a list of sequential dates.
The list is arranged earliest date to latest date.
The first date is the start_date, if the start_date is not contained in the list, it should increase by one until a match occurs.
The second date is the end_date, if the end_date is not contained in the list, it should decrease by one until a match occurs.
I currently use Application.Match to look for each date, and unsuccessfully try to fit a loop to capture any error, and increase (decrease) the start (end) date.
Bookmarks