Okay, here is the error that came back.
Expected end of statement
/NewPercentSpreadSheet.asp, line 50, column 83
& "Where CustomerBoxes.CustomerID = tblDataTableNew.DataTable AND VolDate BETWEEN "#"&DateAdd("m",-1,#" & MyDate & "#)&"#" AND "#"&DateAdd("m",-1,#" & MyDate2 & "#)&"#" AND FullPay +...