필터 지우기
필터 지우기

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