SetColumnCount(2) Error

23 views
Skip to first unread message

David Crowley

unread,
Dec 2, 2025, 9:37:10 AM (2 days ago) Dec 2
to Google Apps Script Community
The ChatGPT-generated script throws an error at: 

body.setColumnCount(2);   

Script and execution are attached.

Thank you,


Dave Crowley

Problem Google Script with Execution Log.pdf

Rubén Rivera (Wicket)

unread,
Dec 2, 2025, 7:40:47 PM (2 days ago) Dec 2
to Google Apps Script Community
If you are looking to set your document to have two columns, you should use the Advanced Documents Service instead of the Documents Service (DocumentApp).
Reply all
Reply to author
Forward
0 new messages