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'
조회 수: 10 (최근 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!