xlswrite in office 365
3 views (last 30 days)
Show older comments
I am using matlab 2017a and office 365. matlab gives this error when i run a m.file.
Error using xlswrite (line 226) Invoke Error, Dispatch Exception: Source: Microsoft Excel Description: Document not saved. Help File: xlmain11.chm Help Context ID: 0
Error in Func_Out_Excel (line 377) xlswrite(FileName, gg22, SheetName, 'AB49');
I check excel com addins and i have these inactive com addins. Can anyone help to solve the issue? Before same code was working fine, after updating to office 365 it's not working. I checked, My office is upto date too and all excel file is closed during the running the code.
0 Comments
Answers (1)
Zenin Easa Panthakkalakath
on 24 Sep 2018
Check you have enough privileges in the directory you are currently in. Check if you have permission isn't limited to 'Read Only'.
If the above doesn't solve your issue, can you try saving it with a new name? If that works, then just try to remove the original file and rename the new file with the original file's name.
0 Comments
See Also
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!