Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8474011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:30:29+00:00 2026-06-10T17:30:29+00:00

Using Google Apps Script, I seek to extract the cell contents of an Excel

  • 0

Using Google Apps Script, I seek to extract the cell contents of an Excel file (.xls) (delivered as a Gmail attachment) and deposit those cell contacts into a 2-dimensional javascript array[ ][ ].

var excelFile = GmailApp.getInboxThreads(0,1)[0].getMessages()[0].getAttachments()[0];

At this point, I have a BLOB with ContentType = “application/vnd.ms-excel”.

How do I convert this “Excel” blob into a 2D (Google Apps Script / javascript) array I can use?

Illustrative note: I want to do what’s described here only using Google Apps Script / javascript.

UPDATE:
Methods for accomplishing this the way I have described seem sparse. Approaching it differently, perhaps I could (programatically) convert the Excel file to a Google Drive Spreadsheet? Then the data extraction is trivial using Google Apps Script.
Perhaps someone from Google support could explain how to programatically convert an Excel file in a Gmail attachment to a Google Drive spreadsheet using Google Apps Script?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:30:32+00:00Added an answer on June 10, 2026 at 5:30 pm

    There is no way you can do it using Apps Script now, but there is an open issue requesting for this feature. You can star the issue to vote for it and be notified of updates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to replace text within a pdf file using Google Apps Script?
Using Google Apps Script, I've made a UI for use on a Google Spreadsheet.
Using Google Apps Script. I know it is not a programming issue, but got
SETUP: Using Google Apps Script's UI (doGet) with tabPanel option. At the bottom of
Has anyone found support for creating or changing a drawing using Google Apps Script?
with google apps script using IE 9 image.setStyleAttribute(position, fixed); is not working for me.
As described here: https://developers.google.com/apps-script/html_service#GoogleScriptAPI I am using a little form in my google app
Is there a way to lock a particular Google Apps worksheet using a script?
Using Google Apps Script, I wanted to create Bookmarks in Google Documents (and retrieve
I am using Google Apps Script and the Apps Script UI Builder , which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.