0

アプリスクリプトで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 ドキュメント リストに追加されます。

4

1 に答える 1

0

ドライブ付きのファイルのアップロードを解決しました

https://gist.github.com/4666836

于 2013-01-29T23:45:28.620 に答える