The AutoOLE object controls OLE settings.
Derived from: AutoShape object (All methods and properties of AutoShape apply to this object.)
There are no additional methods and properties for this object, see AutoShape.
The following script demonstrates how the AutoOLE object is used.
'Declares GrapherApp as an object
Dim GrapherApp As Object
'Creates an instance of the Grapher Application object
'and assigns it to the variable named "GrapherApp"
Set GrapherApp = CreateObject("Grapher.Application")
'Makes Grapher visible
GrapherApp.Visible = True
'Creates a plot document in Grapher and assigns
'it to the variable named "Plot"
Set Plot = GrapherApp.Documents.Add(grfPlotDoc)
'Create an OLEObject and set it to OLEObject object
Set OLEObject = Plot.Shapes.AddOLEObject("WordPad.Document.1",,,False)