Hi all,
I cannot believe nobody needed this in the past. I have been researching extensively but no success.
Please find attached an excel file with the desired output in tab "output".
I am looking for a VBA code which autofills cells in tab "Output" with dates without holidays and weekends.
The start and end date can be found in tab "input" B2 and C2, respectively. The holidays can be found in column B:B in the tab "holidays".
The start date must be place in tab "output" D2 and the follwing dates always one column further to the right.
The range of the dates is variable debending on the end date.
Ideally I'd like to have the weekday in row 1 corresponding to the date in row 2. But that is a nice-to-have.
Thanks in advance for all your help.
Seb
Bookmarks