Q
Problem solve Get help with specific problems with your technologies, process and projects.

Accessing Excel file through LotusScript without MS Office installed

I'm trying to access an Excel file through LotusScript. But since Microsoft Office was not installed in my computer, the code prompts an error because it is not possible to create the automation object. Do you know a solution for this problem (without having to install MS Office)?
It sounds like you're using OLE automation. The Notes client doesn't understand Excel format, so it has to communicate with intermediate software -- such as MS Office -- that does know how to read this file.

As I see it, your options are:

  • Use some other software that knows the Excel file format and has an OLE interface. Lotus 1-2-3 might do.
  • Use some other software that has a non-OLE API and understands Excel format -- I don't know of one offhand but such software might exist.
  • You might be able to create an ODBC connection to the file and use ODBCConnection or the LC LSX to read it. The problem here is that I'm not sure whether you can get the ODBC driver for that except as part of Office.
  • Learn the Excel file format and write an agent in Notes that uses the NotesStream class to read in the file. Admittedly, this is a lot of work.


    Do you have comments on this Ask the Expert question and response? Let us know.
  • This was last published in June 2005

    Dig Deeper on LotusScript

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.

    -ADS BY GOOGLE

    SearchWindowsServer

    Search400

    • iSeries tutorials

      Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

    • V6R1 upgrade planning checklist

      When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

    • Connecting multiple iSeries systems through DDM

      Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

    SearchDataCenter

    SearchExchange

    SearchContentManagement

    Close