A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Karl
Regarding "...then copy it to the correct month based on the date in column J. I keep getting an error."
The reason is that this piece of code cel.Offset(0, 10).Value returns the value from a cell, 10 columns to the right of the AF column, i.e the value in the column AP. Therefore, if you don't have a date value in the AP column, it would return an ERROR.
So, please, replace
Set monthSheet = ThisWorkbook.Worksheets(UCase(Left(Format(cel.Offset(0, 10).Value, "mmm"), 3)))
With
Set monthSheet = ThisWorkbook.Worksheets(UCase(Left(Format(Cells(cel.Row, "J").Value, "mmm"), 3)))
With Cells(cel.Row, "J").Value in this case is a better code syntax, since you can directly type the column letter ("J"), from which you want to return the value.
I hope this finally helps you and gives a solution to your problem
Do let me know if you need more help
Regards
Jeovany