Sha256: 26c4a38b9931d3194b613a20ee6473b6af9eb6892ee58d217927cbe6d1ecb8ec
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
#!/usr/bin/ruby -w ############################################################################### # # This example demonstrates writing cell comments. # # A cell comment is indicated in Excel by a small red triangle in the upper # right-hand corner of the cell. # # For more advanced comment options see comments2.pl. # # reverse('©'), November 2005, John McNamara, jmcnamara@cpan.org # # original written in Perl by John McNamara # converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp # require 'writeexcel' workbook = WriteExcel.new("comments1.xls") worksheet = workbook.add_worksheet worksheet.write('A1', 'Hello') worksheet.write_comment('A1', 'This is a comment') workbook.close
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
writeexcel-0.3.5 | examples/comments1.rb |
writeexcel-0.3.4 | examples/comments1.rb |