Gets the Excel.OleObject object instance for this instance of the Excel OleObject.
| C# | Visual Basic | Visual C++ |
public virtual OLEObject GetOleObject()
Public Overridable Function GetOleObject As OLEObject
public: virtual OLEObject^ GetOleObject()
The Excel.OleObject object instance.
| Exception | Condition |
|---|---|
| ActionFailedException | Thrown if invoking the action failed. |
