Error: Object returned error code: 0x800AC472 -- unique to my computer
9 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm receiving the following errors when running a particular m-file. My colleague does NOT receive the same (or any) error messages when running the file from her computer. Does anyone have any initial thoughts about what might be causing the issue(s), and how to resolve it/them?
------------------------------------
Error using xlsread (line 247)
Error: Object returned error code: 0x800AC472
Error in ReadInputSheet (line 31)
[~, ~, AllRawData{1, i}] = xlsread( strcat( InputSpreadsheetLoc, '\', InputSheetName), TabNames{ 1,
i});
Error in RunStorageEvaluation (line 36)
ReadInputSheet(InputSheetName)
------------------------------------
I've tried searching (Google) on "Error: Object returned error code: 0x800AC472", but haven't found much to help me resolve this.
I realize that one might need more information about the m-file itself to determine what the issue is, but I thought I'd start by showing just the error code in case anyone has any thoughts based on that.
Thanks in advance,
Matt
0 个评论
回答(1 个)
Dasharath Gulvady
2014-8-8
Matt, The 0x800ac472 error code is returned by Microsoft Excel when it is unable to process ActiveX requests.
Usually the cause is an opened dialog box in a running copy of Microsoft Excel. The error may also be due to some add-ons in Microsoft Excel.
The possible workarounds are: 1. Make sure that Excel is closed when you are importing Excel spreadsheet data. or 2. Use XLSREAD in basic mode to read Excel data. or 3. Disable add-ons in Microsoft Excel, and repair Microsoft Office.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!