error message: what is going on?
Show older comments
Dear all,
I use matlab 2011.
I get the following error message
Error using
Interface.000208DB_0000_0000_C000_000000000046/Open
Invoke Error, Dispatch Exception:
Source: Microsoft Excel
Description: Microsoft Excel cannot access the file
'C:\wow2\oio.xlsx'.
There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a
currently open workbook.
Help File: xlmain11.chm
Help Context ID: 0
Error in xlsread (line 248)
ExcelWorkbook = Excel.workbooks.Open(file,0,true);
I am trying to merge 46 excel files. the total size of the merged file is 5 milions rows by 25 columns.
could you tell me what the problem is?
thanks
6 Comments
per isakson
on 10 May 2013
Edited: per isakson
on 10 May 2013
The error message includes three possible reasons. Why is it not one of these? Did you try to use a different name like, test17.xlsx?
antonet
on 10 May 2013
Friedrich
on 10 May 2013
This is an out of memory error in the excel side. You need to read a smaller range. For your overall purpose I would suggest writing your own code using EXCEL through COM.
vcmorini
on 31 Jan 2017
News on this post? Having the same issue here!
John D'Errico
on 31 Jan 2017
Edited: John D'Errico
on 31 Jan 2017
IF the error is coming from Excel, not from MATLAB, then you cannot fix it in MATLAB. You need to be looking at Excel for this.
Answers (0)
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!