アプリスクリプトでxlsを開こうとしています。
ファイルのコンテンツ タイプは次のように取得できます。
var attach = messages[j].getAttachments()[0];
var name = attach.getName();
var type = attach.getContentType();
そして私は得る:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
しかし、どうすればセル内の情報を読み取ることができますか?
編集
私が使用する場合
DocsList.createFile(attach);
これattach
は、Google ドキュメント リストに追加されます。