Eric Carolus
Board Regular
- Joined
- Sep 17, 2012
- Messages
- 133
- Office Version
- 2016
- Platform
- Windows
Hallo good people
I am doing a project and the line below autofill a range for me (it works just fine) with weekdays.
ActiveCell.AutoFill Destination:=Range(ActiveCell.Address & ":" & "B" & Days + 4), Type:=xlFillWeekdays
However, I have a table somewhere called Holidays (with dates) and I wish to somehow add some code
to the line so Holiday dates will be excluded from the autofill.
Can someone help or point me in the right direction, please?
Thanks
Eric
I am doing a project and the line below autofill a range for me (it works just fine) with weekdays.
ActiveCell.AutoFill Destination:=Range(ActiveCell.Address & ":" & "B" & Days + 4), Type:=xlFillWeekdays
However, I have a table somewhere called Holidays (with dates) and I wish to somehow add some code
to the line so Holiday dates will be excluded from the autofill.
Can someone help or point me in the right direction, please?
Thanks
Eric