lib/write_xlsx/workbook.rb in write_xlsx-0.65.0 vs lib/write_xlsx/workbook.rb in write_xlsx-0.65.1
- old
+ new
@@ -1128,10 +1128,10 @@
]
if @tab_ratio != 500
attributes << 'tabRatio' << @tab_ratio
end
if @firstsheet > 0
- attributes << 'firstSheet' << @firstsheet
+ attributes << 'firstSheet' << @firstsheet + 1
end
if @activesheet > 0
attributes << 'activeTab' << @activesheet
end
@writer.empty_tag('workbookView', attributes)