如果单元格的值在特定时间内超出限制,Excel 能否发出通知?

发布于 2024-07-13 10:04:55 字数 193 浏览 12 评论 0原文

我想了解如果单元格的值在一定时间间隔内更改超出限制,Excel 是否可以通知我?

例子: 单元格 A1 的值为 10,限制为 +1 和 -1,间隔为 1 分钟 现在,如果 A1 的值在 1 分钟的时间间隔内变化到低于 9 或高于 11,我想收到通知

有谁知道这是否可以做到?

先感谢您! 克里斯蒂安

I would like to learn if Excel can notify me if the value of a cell is changed out of a limit within a certain interval?

Example:
Cell A1 has a value of 10, the limits are +1 and -1, the interval is 1 minute
Now I would like to be notified if the value of A1 changes below 9 or above 11 within the interval of 1 minute

Does anyone know if this can be done?

Thank you in advance!
Christiaan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妥活 2024-07-20 10:04:55

您可以在单元格所在的工作表上使用更改事件,当单元格更改时会触发该事件。 我不知道为什么,但是当我的 excel 2003 安装上触发该事件时,目标范围什么都没有,但无论哪种方式,您都可以在单元格更改时检查您的单元格,并将以前的值保留在全局变量,以及您监视的每个单元格上次更改的时间。 了解单元格的最后更改时间及其最后值应该足以让您完成所需的操作......

You can use the change event on the worksheet where your cell is, which gets triggered when a cell changes. I don't know why but when the event gets triggered on my excel 2003 install the Target range is nothing, but either way you can check your cell(s) any time a cell changes, and keep the previous value(s) in a global variable, and the time of the last time each of your watched cells changed. Knowing the cell's last change time and its last value should be enough information for you to do what you need...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文