Sha256: 6cedabaae7e5aa17913d567e4a3fac986245962c4a052fb52ee0e830d1ea2538

Contents?: true

Size: 308 Bytes

Versions: 26

Compression:

Stored size: 308 Bytes

Contents

#!/usr/bin/ruby -w
# -*- coding:utf-8 -*-

require 'rubygems'
require 'writeexcel'

workbook = WriteExcel.new('set_first_sheet.xls')
20.times { workbook.add_worksheet }
worksheet21 = workbook.add_worksheet
worksheet22 = workbook.add_worksheet

worksheet21.set_first_sheet
worksheet22.activate
workbook.close

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
writeexcel-0.6.12 examples/set_first_sheet.rb
writeexcel-0.6.11 examples/set_first_sheet.rb
writeexcel-0.6.10 examples/set_first_sheet.rb
writeexcel-0.6.9 examples/set_first_sheet.rb
writeexcel-0.6.8 examples/set_first_sheet.rb
writeexcel-0.6.7 examples/set_first_sheet.rb