Error with xlswrite (error 0x800A03EC)
Show older comments
Hello everyone!
Unfortunatelly, i have a problem while using xlswrite.
i read other tasks from people who had the same error,however it's not the same situation.
I mean that when i write this
xlswrite(excelfile1,5,2,'O17')
it works fine!
However when i write this i get this error
xlswrite(excelfile2,5,2,'O17')
Error using xlswrite (line 219)
Excel returned: Error: Object returned error code:
0x800A03EC.
the difference between the two commands is the file. The first file is a common xls file. The second file is an xls file that has locked the sheets. However the cell O17 is unlocked!
Anyway, i unlock the sheets and it continues to give me the same error.
Any idea what to do?
I use matalab R2014a
Answers (2)
CAM
on 19 Sep 2019
0 votes
Try xlsprotect from File Exchange.
It has worked well for me in the past.
This is an excel error code - not a problem with matlab.
If you search for that error code you may find some help. For example,
This error code has also appeared in the forum before and many of those questions have been answered which may give you leads.
Categories
Find more on Use COM Objects in 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!