I got one Google Document and fead it via GAS with multipe Data from another Google Sheet (numbers as well as long text). After this insertion I modify some of the imported Texts, stored in different Paragraphs -> DocumentApp.getActiveDocument().getBody.appendParagraph('...'). When i am done with this modification, I would like to safe the modified texts back to my sheet, but i have no glue how to do so.
Could anybody help me with this problem?
Thanks a lot and have a nice Day.
Using DocumentApp.getActiveDocument().getBody().getParagraphs()
, you can access a document's paragraphs. Of course you can replace DocumentApp.getActiveDocument()
with a reference to a document you are handling.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.