フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to stop closing Excel in a programmatic GUI?

1 回表示 (過去 30 日間)
Khanh
Khanh 2014 年 10 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2014 年 10 月 15 日
Are you accessing Excel through the COM API?
If so, don't close the application unless all of the criteria are met.
  1 件のコメント
Khanh
Khanh 2014 年 10 月 16 日
Hi Sean de Wolski,
Thanks for your reply. I use winopen(myfilename) to open the file.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by