Thanks to GBI's code (Export array of objects into Excel using Javascript), I was able to export an array of objects to javascript, see my code below. My question about this is, can I do any excel styling? The title will be my header, and I want to add borders, bold, etc. but there doesn't seem to be any option for styling.
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("C:\\REPORT.csv", true);
var title = "GROUP, HOURS TYPE, EMPLOYEE TYPE, PREV, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, TOTAL";
s.WriteLine(title);
s.Close();
alert("Report Saved as C:\\REPORT.csv");