2024-10-02 12:33:44 发布
网友
我试图调用VBA中.py文件中的python函数。在
.py
我使用以下命令打开python shell:
Pathctrl = "C:\users\test\Desktop" ChDir Pathctrl Call Shell(Pathctrl & "\anaconda_python.bat ", vbNormalFocus)
我不知道如何编写VBA命令来运行pythonshell中的特定函数。在
这是一个VBA问题(与Python无关)。在
根据@Ripster的说法,在Execute a command in command prompt using excel VBA中,可以使用Call Shell(...)调用脚本。在
Call Shell(...)
这是一个VBA问题(与Python无关)。在
根据@Ripster的说法,在Execute a command in command prompt using excel VBA中,可以使用
Call Shell(...)
调用脚本。在相关问题 更多 >
编程相关推荐