title: Powershell interact with open Excel
body: <p>To interact with excel in Powershell it is common to start a new excel as follows:</p>
  
  <pre><code>$x = New-Object -comobject Excel.Application
  </code></pre>
  
  <p>Instead of that I have an open Excel process already.
  (I get it as follows)</p>
  
  <pre><code>$excelprocess = Get-Process | Where-Object {$_.name -eq "excel"} | Sort-Object -Property "Starttime" -descending | Select-Object -First 1
  </code></pre>
  
  <p>Is there a way to interact with this specific excel process over PS?</p>