This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function generatePdf() { | |
var ss, source, newTab, newSheet; | |
source = SpreadsheetApp.openById("10wh47mXtvXEdfgdfgdfgdfgdfgdfg").getSheetByName('PrintFATURAFINAL'); | |
ss = SpreadsheetApp.openById("10wh47mXtvXEVUHdfgdfgdfgdfgdfgdfgd"); | |
var pdfName = source.getRange('E10').getDisplayValue(); | |
/*By using the value on a cell as the name for pdf file you be dynamically changed it to be display as a distinct list with no repetition | |
ei: client A.pdf | |
client B.pdf | |
,etc... |