Borrar filtros
Borrar filtros

Imbed an excel in GUI

1 visualización (últimos 30 días)
QiQin Zhan
QiQin Zhan el 17 de Feb. de 2013
I want to know how to imbed an excel in GUI.There's a same question in website: http://www.mathworks.cn/support/solutions/en/data/1-20G1MS/index.html?solution=1-20G1MS Then it tell me to go to another website to download a .m file.The website is: http://www.mathworks.com/matlabcentral/fileexchange/6889
But when I download the file only to find some errors when testing.
The error is:
Error using actxcontrol (line 185) Control creation failed. Invalid ProgID 'OWC11.Spreadsheet.13'
Error in Spreadsheet (line 108) Spreadsheet1 = actxcontrol('OWC11.Spreadsheet.13',[0 0 psn(3:4)]);
I'm eager to know how it can have errors and how to correct the code.The code is tested on Matlab2012b.Thanks!

Respuesta aceptada

Image Analyst
Image Analyst el 17 de Feb. de 2013
What version of Excel do you have? Is it OWC11 (Excel 2003)? If not you need to change the version in the code.
  3 comentarios
Image Analyst
Image Analyst el 18 de Feb. de 2013
Put in the proper OWC. OWC14 or whatever it is.
QiQin Zhan
QiQin Zhan el 18 de Feb. de 2013
I have test it,but the problem still exists.The OWC seems to be invalid.The problem is how I can know the proper activeX for Excel2013.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by