R
Riya Rai
i am using below code for opening Excel application.
But it not opening Excel file.
Code:-
require 'win32ole'
excel = WIN32OLE.new("excel.application")
excel.visible = true
workbook = excel.workbooks.open("c:\\temp.xls")
worksheet=workbook.worksheets(1)
i just want to open a excel file and write text in it.kindly help me.
Thanks in Advance
But it not opening Excel file.
Code:-
require 'win32ole'
excel = WIN32OLE.new("excel.application")
excel.visible = true
workbook = excel.workbooks.open("c:\\temp.xls")
worksheet=workbook.worksheets(1)
i just want to open a excel file and write text in it.kindly help me.
Thanks in Advance