Borrar filtros
Borrar filtros

Block the Save popup box generated from Excel

2 visualizaciones (últimos 30 días)
Philosophaie
Philosophaie el 10 de Dic. de 2013
Editada: Philosophaie el 10 de Dic. de 2013
In Excel I can block the Save popup box generated from "exlWkbk.Close" by adding this code to Excel:
"Application.EnableEvents = False"
How can I add this Excel command to MatLab:
Execute "!!!insert code here!!!" = Application.EnableEvents = False
exl = actxserver('excel.application');
exlWkbk = exl.Workbooks;
exlFile = exlWkbk.Open(['C:\Documents and Settings\Owner\My Documents\a Data\a Matlab\addm.xlsm']);
exlSheet1 = exlFile.Sheets.Item('Sheet1');
!!!insert code here!!!
exlWkbk.Close;
exl.Quit;

Respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by