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?
Mostrar comentarios más antiguos
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 comentarios
Guillaume
el 12 de Jul. de 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)."
Respuestas (1)
Poornima Kumar
el 16 de Jul. de 2018
0 votos
Categorías
Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!