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 8026181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:24:23+00:00 2026-06-04T23:24:23+00:00

There are several Ruby open-source libraries for reading Microsoft Excel files, such as roo

  • 0

There are several Ruby open-source libraries for reading Microsoft Excel files, such as roo or spreadsheet. What about Apple Numbers documents? Is there anything available?

  • 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-04T23:24:25+00:00Added an answer on June 4, 2026 at 11:24 pm

    Such a library apparently does not exist (yet?). A good workaround for now is to automate the conversion to CSV through applescript, and then read this result instead of trying to read the Numbers file directly. This might not fit everyone’s needs, though, but works perfectly for me.

    Here is the applescript:

    # -------------------------------------------------------------------------------
    # Command-line tool to convert an iWork '09 Numbers
    # document to CSV.
    #
    # Parameters:
    # - input: Numbers input file
    # - output: CSV output file
    #
    # Attik System, Philippe Lang
    #
    # Creation date: 31 mai 2012
    # Modification date: 
    # -------------------------------------------------------------------------------
    on run argv
        # We retreive the path of the script
        set myPath to (path to me)
        tell application "Finder" to set myFolder to folder of myPath
    
        # We get the command line parameters
        set input_file to item 1 of argv
        set output_file to item 2 of argv
    
        # We retreive the extension of the file
        set theInfo to (info for (input_file))
        set extname to name extension of (theInfo)
    
        # Paths
        set input_file_path to (myFolder as text) & input_file
        set output_file_path to (myFolder as text) & output_file
    
        if extname is equal to "numbers" then
            tell application "Numbers"
                open input_file_path
                save document 1 as "LSDocumentTypeCSV" in output_file_path
                close every window saving no
            end tell
        end if
    end run
    

    Use it like this:

    osascript convert_to_csv.scpt input_file.numbers output_file.csv
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are several questions about text-diff libraries for Java on SO, but none about
I'm confused about the world of Ruby Gems. There are several well-known repositories. Which
Motivation and Problem There are several libraries for generating html markup strings using ruby
There are several questions on SO about parsing structured text in Ruby, but none
There are several XMPP client libraries for Ruby available, what is your experience with
I have a legacy ASP.NET/VB.NET WebSite. There several App_Code modules/code files that use types
There are several plugin options for building a search engine into your Ruby on
Is there any way to kick off OptionParser several times in one Ruby program,
There are several topics here with the same error. The cause of my error
There are several good Javascript editors for Markdown / Textile (e.g.: http://attacklab.net/showdown/ , the

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.