Thanks again for getting back to me. I have figured out what the difference is between your code and mine. In yours you are not overriding existing data, you’re merely adding to it. Can you try the snippet below? This should give you the results I’m seeing:
dataSheet.getCells().get(“A1”).putValue(“Rubi ID”);
dataSheet.getCells().get(“B1”).putValue(“Submitter”);
dataSheet.getCells().get(“C1”).putValue(“Content Type”);
dataSheet.getCells().get(“D1”).putValue(“Desk”);
dataSheet.getCells().get(“E1”).putValue(“Canned Comment”);
dataSheet.getCells().get(“F1”).putValue(“MMC”);
dataSheet.getCells().get(“G1”).putValue(“Line Compliance”);
dataSheet.getCells().get(“H1”).putValue(“Executive Office”);
dataSheet.getCells().get(“I1”).putValue(“Legal”);
dataSheet.getCells().get(“J1”).putValue(“Tax”);
dataSheet.getCells().get(“K1”).putValue(“Accounting”);
dataSheet.getCells().get(“L1”).putValue(“Others”);
dataSheet.getCells().get(“M1”).putValue(“Sampled”);
dataSheet.getCells().get(“N1”).putValue(“Routed”);
dataSheet.getCells().get(“O1”).putValue(“Region”);
dataSheet.getCells().get(“P1”).putValue(“Started”);
dataSheet.getCells().get(“Q1”).putValue(“Submitted”);
dataSheet.getCells().get(“R1”).putValue(“Duration In Minutes”);
dataSheet.getCells().get(“S1”).putValue(“Supervisee”);
dataSheet.getCells().get(“T1”).putValue(“Has Comment”);
dataSheet.getCells().get(“U1”).putValue(“Quarter”);
dataSheet.getCells().get(“V1”).putValue(“Previous Quarter”);
dataSheet.getCells().get(“W1”).putValue(“Frequent Submitter”);
dataSheet.getCells().get(“A2”).putValue(1);
dataSheet.getCells().get(“B2”).putValue(“sub1”);
dataSheet.getCells().get(“C2”).putValue(“contentType1”);
dataSheet.getCells().get(“D2”).putValue(“desk1”);
dataSheet.getCells().get(“E2”).putValue(“cannedComment1”);
dataSheet.getCells().get(“F2”).putValue(1);
dataSheet.getCells().get(“G2”).putValue(1);
dataSheet.getCells().get(“H2”).putValue(1);
dataSheet.getCells().get(“I2”).putValue(1);
dataSheet.getCells().get(“J2”).putValue(1);
dataSheet.getCells().get(“K2”).putValue(1);
dataSheet.getCells().get(“L2”).putValue(1);
dataSheet.getCells().get(“M2”).putValue(1);
dataSheet.getCells().get(“N2”).putValue(0);
dataSheet.getCells().get(“O2”).putValue(“region1”);
dataSheet.getCells().get(“P2”).putValue(“00-01-1900 12:00:00 AM”);
dataSheet.getCells().get(“Q2”).putValue(“00-01-1900 12:00:00 AM”);
dataSheet.getCells().get(“R2”).putValue(0);
dataSheet.getCells().get(“S2”).putValue(1);
dataSheet.getCells().get(“T2”).putValue(1);
dataSheet.getCells().get(“U2”).putValue(“Q2”);
dataSheet.getCells().get(“V2”).putValue(1);
dataSheet.getCells().get(“W2”).putValue(1);
dataSheet.getCells().get(“A3”).putValue(2);
dataSheet.getCells().get(“B3”).putValue(“sub2”);
dataSheet.getCells().get(“C3”).putValue(“contentType2”);
dataSheet.getCells().get(“D3”).putValue(“desk2”);
dataSheet.getCells().get(“E3”).putValue(“cannedComment2”);
dataSheet.getCells().get(“F3”).putValue(1);
dataSheet.getCells().get(“G3”).putValue(1);
dataSheet.getCells().get(“H3”).putValue(1);
dataSheet.getCells().get(“I3”).putValue(1);
dataSheet.getCells().get(“J3”).putValue(1);
dataSheet.getCells().get(“K3”).putValue(1);
dataSheet.getCells().get(“L3”).putValue(1);
dataSheet.getCells().get(“M3”).putValue(0);
dataSheet.getCells().get(“N3”).putValue(1);
dataSheet.getCells().get(“O3”).putValue(“region2”);
dataSheet.getCells().get(“P3”).putValue(“00-01-1900 12:00:00 AM”);
dataSheet.getCells().get(“Q3”).putValue(“00-01-1900 12:00:00 AM”);
dataSheet.getCells().get(“R3”).putValue(0);
dataSheet.getCells().get(“S3”).putValue(1);
dataSheet.getCells().get(“T3”).putValue(1);
dataSheet.getCells().get(“U3”).putValue(“Q2”);
dataSheet.getCells().get(“V3”).putValue(1);
dataSheet.getCells().get(“W3”).putValue(1);