Generating Excel documents with Ruby

前端 未结 4 1866
鱼传尺愫
鱼传尺愫 2021-01-13 13:05

I need to generate Excel documents with Ruby (from Rails) on a Linux machine. I know of Spreadsheet::Excel, but it doesn\'t support formulas, and uses a pretty old format.

相关标签:
4条回答
  • 2021-01-13 13:37

    How about https://github.com/randym/axlsx

    This gem can easily generate spreadsheets in the OOXML format (Open Office XML)

    0 讨论(0)
  • 2021-01-13 13:46

    How about opening a spreadsheet (Spreadsheet::Excel) with the formulae already populated. Entering data into the referenced cells will cause them to display the result.

    0 讨论(0)
  • 2021-01-13 13:54

    https://github.com/cxn03651/writeexcel/

    0 讨论(0)
  • 2021-01-13 13:54

    I have come across the gem simple_xlsx_writer.

    You can see the example of how to use it over here.

    Hope it helps.

    0 讨论(0)
提交回复
热议问题