title: vba check if specific process task id is still running
body: <p>I am using the <code>Shell()</code> function to execute an external application in MS Access. <code>Shell()</code> returns a task ID of the specific process that was started.</p>
  
  <p>I need a way to check if that process is still running or if it has closed. I'm sure that I will need to do some sort of windows API call but I can't seem to find anything just now.</p>