Why does Microsoft Excel generate the message "Microsoft Excel is waiting for another application to complete an OLE action." when I am running matlab function that reads from an excel sheet?
Show older comments
I am running a matlab script that read data from excel and that runs fine. However, if I now open an excel sheet outside, I am not able to use it, as I get this error "Microsoft Excel is waiting for another application to complete an OLE action." Any advice on how to solve this please?
2 Comments
Guillaume
on 12 Jul 2018
Have you got any excel add-on installed by any chance? Or macros that are set to run whenever an excel file is opened?
Hi, I deleted my answer as it wasn't the right one. Seems like you can modify the same workbook via matlab and excel via actxserver.
How are you accessing the excel sheets via matlab? This could be more of a Excel issue, so do any of these solution help?
I copied your comments that could help others figure this issue out:
@Poornima said: "However, this happens even if I open other Excel files (ones that are not used by Matlab)."
Answers (1)
Poornima Kumar
on 16 Jul 2018
0 votes
Categories
Find more on Data Import from MATLAB 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!