Copy Value and Format to new sheet in Google sheets using a script
问题 In Google Apps Script, Im using the script below to create a pdf and send as an email. The problem is that when it creates the new sheet and copies across, the formulas are copied. The emailed PDF than shows a REF error. I need to copy the Value and Format. Thanks function exportPDF() { var originalSpreadsheet = SpreadsheetApp.getActive(); var message = "Please see attached"; var projectname = originalSpreadsheet.getRange("a2:c2").getValues(); var period = originalSpreadsheet.getRange("B24