error message: what is going on?

3 views (last 30 days)
antonet on 10 May 2013
Edited: John D'Errico on 31 Jan 2017
Dear all,
I use matlab 2011.
I get the following error message
Error using
Invoke Error, Dispatch Exception:
Source: Microsoft Excel
Description: Microsoft Excel cannot access the file
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?
John D'Errico
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by