Can't open Excel files now that my company has upgraded to Office 365
Show older comments
I have two problems reading .xlsx files with MATLAB. Both of these problems started after my company upgraded of MS Office 365 and started mirroring our files with OneDrive (Microsoft® Excel® for Microsoft 365 MSO (16.0.14326.20504) 32-bit ).
The first problem is that I can't open .xlsx files that are already open in Excel. My program used to be able to do this, but now I get a pop-up error message saying that the file is open in another application. This is true whether "Autosave" is on for that file or not. So it seems like Excel is somehow blocking MATLAB from opening the file in a way it wasn't before.
The second problem is that I can't open .xlsx files in MATLAB when I am not connected to a network, even if the file is NOT open in Excel. The files are on my local hard disk, and I can open them with Excel. But when I run my MATLAB program I get the following popup error message: "The network is not present or not started. Check that you are connected to the network and then try again." I don't understand why I need to be connected to the network to open a .xlsx file in MATLAB when I don't need to be connected to open it in Excel.
Any help on either issue would be appreciated. Thank you!
Accepted Answer
More Answers (2)
Frank Buntschuh
on 23 Feb 2023
0 votes
Using R2022b. Still having this issue with Excel files on Sharepoint and using readtable, which I use extensively for local files. On Sharepoint, MATLAB never seems to find the file. I know I can copy the Sharepoint file down to local storage, but this induces a configuration control issue. Any progress on a solution?
Alan Ledesma
on 3 Oct 2023
0 votes
I am experiencing the same problem since my company migrated to SharePoint with Microsoft 360. In our case, considering the new hybrid working format, we need to work in a cloud that is always synchronized on different computers. These communication problems between Matlab and Excel are increasing and at times significantly limit our work. Is there already a solution to this problem?
Categories
Find more on Spreadsheets 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!