Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to stop closing Excel in a programmatic GUI?

1 Ansicht (letzte 30 Tage)
Khanh
Khanh am 15 Okt. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi,
My programmatic GUI is used to enter data in an excel spread sheet (.xlsx extension).
While users entering data in Excel, data will be compared with statements in my GUI. It will stop users from closing the Excel file until they enter right data.
Is there anyway to do it?
Thanks.

Antworten (1)

Sean de Wolski
Sean de Wolski am 15 Okt. 2014
Are you accessing Excel through the COM API?
If so, don't close the application unless all of the criteria are met.
  1 Kommentar
Khanh
Khanh am 16 Okt. 2014
Hi Sean de Wolski,
Thanks for your reply. I use winopen(myfilename) to open the file.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by