what is meant by this error" Dispatch Exception"?

13 views (last 30 days)
Amr Hashem
Amr Hashem on 18 May 2015
Commented: Walter Roberson on 19 May 2015
Invoke Error, Dispatch Exception
when i running a code to open a excel sheet it gives me this error
Invoke Error, Dispatch Exception: خارج النطاق الحالي.
Error in xlsreadCOM (line 64)
rawData = DataRange.Value;
Error in xlsread (line 230)
[numericData, textData, rawData, customOutput] = xlsreadCOM(file, sheet, range,
Excel, customFun);
Error in data2222 (line 4)
[ndata1 text1 alldata1] = xlsread('extract2006.xlsx','foidev2006');
what does this mean & how i can solve?
  1 Comment
Walter Roberson
Walter Roberson on 19 May 2015
The translation is "Outside the current scope"

Sign in to comment.

Answers (1)

Ken Atwell
Ken Atwell on 19 May 2015
That error is coming from Excel. Try basic mode:
xlsread('extract2006.xlsx','foidev2006','','basic')
Does this fare any better?

Community Treasure Hunt

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

Start Hunting!