WOULD YOU CARE FOR SOME TEA?
2009.03.27. 12:53
Miért fogunk a jövőben excelt is Rubyban programozni?
Címkék: programozás
Ruby:
require 'win32ole'
excel = Win32ole.new("Excel.Application")
excel.visible = true
wb = excel.workbooks.add
ws = wb.activesheet
ws.range('A1:B5').each do |cell|
cell.value = "Hello, World"
end
versus
using Microsoft.Office.Interop.Excel;
[...]
var excel = new ApplicationClass();
excel.Visible =…