Can anyone see why this is generating a RunTime Error 91? Works perfectly as a formula (=F2-WEEKDAY(F2,2)+1)
It should check whether the date in F2 (.cells(2,6) is a Monday. If it is, that becomes STARTDAY. If it isn't, the code should find the previous Monday to the date and use THAT as STARTDAY.
All solutions, suggestions and alternatives welcome as everPlease Login or Register to view this content.
Ochimus
Bookmarks