I have been searching for a way to do this and came across the Shell() command. However no matter how I try I cannot get it to work. The python icon will flash up for a minute but the script does not run. This is what I have
I also tried this.. But it didn't work either.
I know nothing about Python and the python code was developed by someone else. It works fine when I double click the python file directly but I need to run it from excel somehow.... Any help appreciated...
Code:
Shell ("C:\Python27\python.exe ""C:\Python27\Scripts\weatherftpdownload.py")
I also tried this.. But it didn't work either.
Code:
pyPrgm = "C:\Python27\python.exe "
pyScript = "C:\Python27\Scripts\weatherftpdownload.py"
Call Shell(pyPrgm & pyScript)
I know nothing about Python and the python code was developed by someone else. It works fine when I double click the python file directly but I need to run it from excel somehow.... Any help appreciated...