Skip to content

Max rows count #268

@jameswangz

Description

@jameswangz

Hi guys, it seems the max rows count of the xls file created by this gem is 65535? Not sure whether I missed some configuration, below is my test script:

require 'spreadsheet'
  
Spreadsheet.client_encoding = 'UTF-8'
book = Spreadsheet::Workbook.new
sheet = book.create_worksheet name: 'Testing sheet'

100000.times do |index|
 sheet.row(index).push(
  "a",
  index
 )
end

book.write "#{Dir.home}/temp/exported.xls"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions