【发布时间】:2016-04-21 15:22:41
【问题描述】:
我正在尝试在 VBA 中的 .py 文件中调用 python 函数。
我用这个命令打开python shell:
Pathctrl = "C:\users\test\Desktop"
ChDir Pathctrl
Call Shell(Pathctrl & "\anaconda_python.bat ", vbNormalFocus)
我不知道如何编写 VBA 命令来在 python shell 中运行特定函数。
【问题讨论】: