ソースコード index.html <!DOCTYPE html> <html> <head> <base target="_top"> </head> <body> <h2>Table HTML</h2> <textarea id="text" style="font-size:10pt;width:100%;height:400px;"></textarea> </body> <script> window.onload = function() { google.script.run .withFailureHandler(onFailure) .withSuccessHandler(onSuccess) .getText(); } function onSuccess(result) { document.getElementById("text").value = result;