如何防止撤消期间的Workbook_sheetchange事件?
我正在使用Excel的“ Workbook_sheetchange”事件来获取一些信息。因为我不通过此函数更改任何单元格值,所以在此事件之后,撤消功能仍在工作。
但是,当我撤消时,触发了“ Workbook_sheetchange”。我不想在撤消期间活动。有没有办法防止撤消期间的“ workbook_sheetchange”事件?
I am using Excel's "Workbook_SheetChange" event to take some information. Because I don't change any cell values by this function, Undo function is still working after this event.
However, when I undo, the "Workbook_SheetChange" is triggered. I don't want the event during undo. Is there a way to prevent "Workbook_SheetChange" event during undo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论