Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 VBA 中编写了一个应用程序,它基本上在加载表单时开始记录,并在通过 form_close 事件关闭表单时停止记录。
然后在日志开始和日志结束之间计算它们在应用程序上的时间。
最近我被告知他们是如何在不触发关闭事件的情况下关闭表单的某些方式,例如程序崩溃?
我只是在这里询问是否有人知道用户可以在不触发关闭事件的情况下退出程序。
谢谢
以下原因可能导致在不触发事件的情况下退出应用程序。