阅读背景:

强制python脚本不等待vba宏终止。

来源:互联网 

I run a long excel VBA macro (about 10-15 minutes) from a python script. I would like to make a progressbar for the end users. In order to communicate from the macro to the python script, I tried to write in a txt file the % of progress from the VBA macro, and plug that number to a progressBar (done with Qt) in my .py The problem is: the py scripts waits for the macro to finsih to go read the .txt file value. I am looking for a way to force Python to go to the next command without waiting for the macro to finish. Here is the .py I have used unsuccesfully I run a long excel VBA macro (about 10-15 minut




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: