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
I can't connect with excel anymore using this command. XLex = actxGetRunningServer'Excel.Application'
1 次查看(过去 30 天)
显示 更早的评论
%% Attach to Excel process
XLex = actxGetRunningServer('Excel.Application');
workbooks=XLex.workbooks;
2 个评论
Mihail-Ovidiu Ciobanu
2022-2-23
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ActiveX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!