There seems to be a lot of threads on this one and they all point to this solution:
Function call_py()
Dim rv As Variant
Const pypath = "C:\Users\user\AppData\Local\Programs\Python\Python36-32\python.exe "
Const scriptpath = "c:\Users\user\Desktop\test.py"
rv = Shell(pypath & scriptpath, vbNormalFocus)
End Function
or something similar. All this does though is make a shell pop up and disappear without executing the script. What am I doing wrong?
P.