title: How to copy-paste from DOS application to Excel using SendKeys?
body: <p>I'm trying to simulate this action:</p>
  
  <ul>
  <li>activate another application,</li>
  <li>send keystroke ctrl+c,</li>
  <li>go back to Excel,</li>
  <li>send key stroke ctrl+v  </li>
  </ul>
  
  <p>and have that value in a cell.</p>
  
  <p>It's a DOS window style application, so keystroke is the only way to manage it.</p>
  
  <p>I managed to activate and to input keystrokes such as ENTER into that DOS style application, but when I try <kbd>ctrl</kbd>+<kbd>C</kbd> it is not seen to do anything.</p>
  
  <p>I tried simulating it in Excel VBA with:</p>
  
  <pre><code>Range("E7").Select
  SendKeys "^c"
  Range("G7").Select
  SendKeys "^v"
  </code></pre>
  
  <p>The E7 value is not copied, but G7 (paste destination) is highlighted as if it was selected for copying.</p>
  
  <p>Note: I am not trying to copy things from Excel to Excel, but to execute keystrokes using Excel.</p>