From: Yac Date: 2004-01-27T01:11:24+09:00 Subject: [ruby-list:39083] [ANN] RubydeExcel Ver1.02 岡です。 RubydeExcelを紹介させてください。 RubydeExcelはRubyからExcelを制御するスクリプトを書きやすくするライブラリです。 こんな記述が可能になります。 require 'excel_lib' excel = Excel.new # const_loadとか、visibleの設定はやってくれる book = excel.copy_book('./test.xls') # フルパスへの変換をやってくれます p book # -> Excel::Workbook # Excel内で使うクラス名が表示されます(一部だけ) sheet = book.worksheets(1) cursol = sheet.range("A1").get_cursol # Excel::RangeCursolを新設 10.times {|index| cursol.text = "#{index}" cursol.v_move(1) # カーソルを動かしながら値を設定していく } 詳しくは以下のページで紹介してます。 http://www.tech-notes.dyndns.org/excel_lib/ /OKA ==================================== Mail: yac@tech-notes.dyndns.org Web: http://www.tech-notes.dyndns.org/ ====================================