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-1.0.4 examples/set_first_sheet.rb
writeexcel-1.0.3 examples/set_first_sheet.rb
writeexcel-1.0.2 examples/set_first_sheet.rb
writeexcel-1.0.1 examples/set_first_sheet.rb
writeexcel-1.0.0 examples/set_first_sheet.rb
writeexcel-0.6.19 examples/set_first_sheet.rb
writeexcel-0.6.18 examples/set_first_sheet.rb
writeexcel-0.6.17 examples/set_first_sheet.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.16/examples/set_first_sheet.rb
writeexcel-0.6.16 examples/set_first_sheet.rb
writeexcel-0.6.15 examples/set_first_sheet.rb
writeexcel-0.6.14 examples/set_first_sheet.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/examples/set_first_sheet.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/examples/set_first_sheet.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/examples/set_first_sheet.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/examples/set_first_sheet.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/examples/set_first_sheet.rb
writeexcel-0.6.13 examples/set_first_sheet.rb
ricardoo27-writeexcel-0.6.12.2 examples/set_first_sheet.rb
ricardoo27-writeexcel-0.6.12.1 examples/set_first_sheet.rb