See here for sample code on how to connect to a running instance of Excel, allowing you to manipulate it (including terminating the instance). See here for an example of the RunningObjectTable retrieval code used to retrieve all instances of the specified application.
source share