Properties of OLE automation objects are also accessed by their unique name or DISPID. The OleAutomationObject class has these property-accessor instance methods:As an example of using the property methods on an OleAutomationObject, consider the following code fragment that opens Microsoft Excel, makes it visible, changes the default file path, and opens a file: