ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calling a python script from VBA? (https://www.excelbanter.com/excel-programming/415904-calling-python-script-vba.html)

NateBuckley

Calling a python script from VBA?
 
Hello I've been playing with python for a number of days and really liking
the language, I'm just wondering if there is a way to call python scripts etc
using VBA?

Thanks in advance!

joel

Calling a python script from VBA?
 
You can run executables using the following:

Runs an executable program and returns a Variant (Double) representing the
program's task ID if successful, otherwise it returns zero.

Syntax

Shell(pathname[,windowstyle])

--------------------------------------------------------------------------------------

You need to see how to run your scripts from a command line instruction.

"NateBuckley" wrote:

Hello I've been playing with python for a number of days and really liking
the language, I'm just wondering if there is a way to call python scripts etc
using VBA?

Thanks in advance!



All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com