Option 2: Connect to top-level named Automation object
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
This option creates a connection to an existing instance of a top-level Automation object (such as "Excel.Application"). This does not work with lower-level objects (such as "Excel.Sheet"), and fails if the Server is not already running. For example:
|
The following figure summarizes the basic logic for this option.

Note: This option is equivalent to the Visual Basic
GetObject(,class) function call.