title: VBA Macros for Excel
body: <p>I am trying to execute a program in which the program gets the data from a workbook to a different workbook, but I get a <code>runtime-9-error</code>. Please Help me.</p>
  
  <pre><code>Sub cutex3()
      'between 2 sheets in two different workbooks
      Workbooks("book2").Sheets("sheet2").Range("A1 : A5").Cut _
      Workbooks("book3").Sheets("sheet3").Range("A1 : A5")
  End Sub
  </code></pre>