Returns a running instance of an application object, or creates a new instance if the application is not currently running
(vlax-get-or-create-object prog-id)
Arguments
-
prog-id
-
A string containing the programmatic identifier of the desired ActiveX object. The format of prog-id is
<Vendor>.<Component>.<Version>
For example:
AutoCAD.Drawing.19
Return Values
The object.
Examples
(vlax-get-or-create-object "Excel.Application")
#<VLA-OBJECT _Application 0017bb5c>