title: Getting Invalid outside procedure error in VBA
body: <p>I get this error (VBA in Excel): <code>Invalid outside procedure</code> in the first <code>chr(34)</code> </p>
  
  <pre><code>Shell (Chr(34)) &amp; "C:\Python27\Scripts\pybot.exe" &amp; Chr(34) &amp; " " &amp; Chr(34) &amp; _
  "C:\Users\cwr.Diego.Gomez\Desktop\main_test_suite\myTests\Diego.txt" &amp; Chr(34))
  </code></pre>
  
  <p>Could somebody please try to explain why?</p>