2016-03-01から1ヶ月間の記事一覧
罫線に成功です。 # -*- Encoding:UTF-8 -*-ire 'win32ole'require 'win32ole'class Excelendexcel = WIN32OLE.new('Excel.Application')WIN32OLE.const_load(excel, Excel) # 新規ブックを作成book = excel.workbooks.add#画面に状況を表示させる。excel.vi…
RubyでのExcel操作です。 コメントを適当に変えて使います。 # -*- Encoding:UTF-8 -*-ire 'win32ole'require 'win32ole'excel = WIN32OLE.new('Excel.Application')#Excelファイルをダイアログで開く場合#book_file = excel.GetOpenFilename#book = excel.W…