Open zorori777 opened 6 years ago
wb.add_worksheet(name: 'わたさんデータ') do |sheet|
sheet.add_row [
t('activerecord.attributes.watasan.target_data'),
t('activerecord.attributes.authentication.authentications'),
t('activerecord.attributes.watasan.number),
]
@takumin.times.each do |i|
sheet.add_row [
target_data,
authentications,
number,
]
end
end
なにができるのか
参考
1 2
3 = formatではxlsxを使うことができないので、typeを設定する必要がある。その設定法を書いてある記事