Handle to running instance of Automation server
If the server specified by
progid is not currently running or
if the server object is not registered, then the function returns an error. If
multiple instances of the server are running, then the operating system controls the
behavior of this function.
c = actxGetRunningServer('Excel.Application'); list = fieldnames(c)
progid— Programmatic identifier
Programmatic identifier, specified as a string or a character vector. The server vendor documentation specifies the ProgID.
c— COM object
COM object, returned as a function handle.
COM functions are available on Microsoft® Windows® systems only.