title: Excel Interop - Cancel selection
body: <p>I'm copying and inserting rows in an Excel sheet, like so:</p>
  
  <pre><code>   while (rowsToAdd &gt; 0)
     {
        // copy the existing row
        insertionCell.EntireRow.Copy(Type.Missing);
  
        // location of the new row
        Range newRow = insertionCell.EntireRow.get_Offset(1, 0).EntireRow;
  
        // insert the new row
        newRow.Insert(XlInsertShiftDirection.xlShiftDown, Type.Missing);
  
        rowsToAdd--;
     }
  </code></pre>
  
  <p>The problem I have is that sometimes, I'm left with a selection marquee around the row I originally copied. </p>
  
  <p>Is there a way I can cancel the selection marquee (the way you'd normally do it with the Escape key?)</p>