LoginSignup
0
0

More than 5 years have passed since last update.

rubyxlで作成したエクセルシートに2枚目のシートを追加する

Posted at

忘れる度にググっているので時短と備忘録のために書き残しておく。

save_items_into_xlsx.ruby
item_book = RubyXL::Workbook.new
item_sheet = item_book[0]
item_sheet2 = item_book.add_worksheet("Sheet2")

item_book.addworksheet("sheet_name")で追加可能。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0