I can't connect with excel anymore using this command. XLex = actxGetRun​ningServer​'Excel.App​lication'

1 次查看(过去 30 天)
%% Attach to Excel process
XLex = actxGetRunningServer('Excel.Application');
workbooks=XLex.workbooks;
  2 个评论
Brian
Brian 2019-5-31
I found an extra EXCEL.exe process running which I'm not sure where that is coming from. I'll reboot and try again. likely the cause
Mihail-Ovidiu Ciobanu
When I detected the issue, I saw in the Task Manager 20-ish active excel applications.
Most probably were open because of another script crash.
If the excel.exe task are closed, the issue is solved!

请先登录,再进行评论。

回答(0 个)

标签

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by