How to call python script on excel vba?
Try this: RetVal = Shell(“<full path to python.exe> ” & “<full path to your python script>”) Or if the python script is in the same folder as the workbook, then you can try : RetVal = Shell(“<full path to python.exe> ” & ActiveWorkBook.Path & “\<python script name>”) All details within <> are to be given. … Read more