In message "win32ole and excel"
    on 02/08/01, Martin Stannard <martin / massive.com.au> writes:

> Hi,
> 
> I'm trying to open a file using win32ole in excel:
> 
>     @app = WIN32OLE.new("excel.application")
>     @app.visible = true
>     template = "racetemplate.xls"
>     @book = @app.Workbooks.Open(template)
>     @sheet = @book.Worksheets(1)

Try to specify full path of racetemplate.xls.

  template = "C:\\folder\\racetemplate.xls"

Hope this helps.

  Regards,
  Masaki Suketa