title: VBA: Multiple commands from one cmd.exe
body: <p>I am trying to run VBA script that will execute particular shell program with arguments retrieved from Excel Spreadsheet. </p>
  
  <p>I'd like to exeute the command n times for n rows in spredsheet, yet have it all in one cmd.exe window. Is that achievable? </p>
  
  <p>I am doing such steps:</p>
  
  <p>1.Creating shell object:</p>
  
  <pre><code>Set wsh = VBA.CreateObject("WScript.Shell")
  </code></pre>
  
  <p>2.Iterating trough all rows in Spreadsheet and calling for each:</p>
  
  <pre><code>wsh.Run("Command with row specific args", 1, true)
  </code></pre>
  
  <p>As the result I have n console windows opened for n processed rows.
  Is there any way to avoid it?</p>
  
  <p>Help appreciated.</p>