Script Excel In Ruby
Join the DZone community and get the full member experience.
Join For Free
require 'win32ole'
excel = WIN32OLE.new('excel.application')
excel.visible = true
excel.workbooks.open(file_path) # absolute file path
excel.range('A1').value = 'Hello, world.' # get/set value
Opinions expressed by DZone contributors are their own.
Comments