Originally Posted by
mnadamn19
Both answers have Jan. 1st as the first day of the week no matter which day it falls on. This means that no matter the year, the end of week 1 always gets reported as 1/7/xxxx I need the week to start on Sunday. I have found that the issue in my original post happens if the first of the year takes place on Sunday - Wednesday and does not happen the rest of the week. I have tried removing vbfirstfourdays from my code and this issue is still occuring. I may just have to do an if statement looking at the value produced by the weekday function.
That's not correct.
When the Year is 2017 the formula in #3 returns Saturday 7 January for week1 which is what you want.
Next year the same formula will return Saturday 6 January 2018. You can easily demonstrate this by temporarily adding +365 to the year part of the formula to force it to be 2018. i.e.
Bookmarks