Your code fails when the month selected is December. The Rw variable is 904. For other months, the Rw variable can have other values and, in some cases, more than one fail.
The reason is that the formula in column J can return a blank: J905:
The formula "=DAY(J$875+1)" = 23
The code below has been modified to give Debug output rather than try to print the data. If you comment out the Debug output and un-comment the Printout line, it should work and ignore the failures. I'm not going to do that because it creates too many pages of output (although I am printing to a PDF Printer).
Regards, TMS
Bookmarks