title: Running python script from excel vba error
body: <p>My python script reads cell value in excel sheet, where my run button is located. The script works ok when I run it from IDE, when I try to run it with my button it cant get the value from cell (script stops running).
  Here is my code example:</p>
  
  <p>VBA EXAMPLE:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Sub RunPython()
      Ret_Val = shell("C:\Users\s1618\AppData\Local\Programs\Python\Python37\python.exe" &amp; " C:\Users\s1618\Desktop\untitled\test.py")
  End Sub
  </code></pre>
  
  <p>PYTHON SCRIPT EXAMPLE:</p>
  
  <pre class="lang-py prettyprint-override"><code>import xlrd
  
  book = xlrd.open_workbook("data.xlsm")
  sheet = book.sheet_by_name("data")
  cell_value = sheet.cell_value(1, 3)
  return cell_value
  </code></pre>
  
  <p>Any advice please?</p>