I can't connect with excel anymore using this command. XLex = actxGetRunningServer'Excel.Application'
Show older comments
%% Attach to Excel process
XLex = actxGetRunningServer('Excel.Application');
workbooks=XLex.workbooks;
2 Comments
Brian
on 31 May 2019
Mihail-Ovidiu Ciobanu
on 23 Feb 2022
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!
Answers (0)
Categories
Find more on ActiveX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!