From: Mully Date: 2006-06-06T10:36:55+09:00 Subject: Re: reading data from excel Parvinder Ghotra wrote: > Madan Thanks for your quick response. > > I'm trying to just open the excel application using the code below: > > require 'win32ole' > > excel = WIN32OLE.new('Excel.Application') > excel['Visible'] = true; > > Something happens but i excel doesn't open up. > do i need to add something to the above code? > Thanks Parvinder- Add a line of code to create a new workbook or open an existing one: wb = excel.Workbooks.Add OR wb = excel.Workbooks.Open(filename) Mully -- Posted via http://www.ruby-forum.com/.