简体   繁体   English

'X' 分钟后突出显示单元格

[英]Highlight Cell after 'X' minutes

Is it possible to Highlight a cell after x amount of minutes but if value has been entered into cell it will no longer highlight?是否可以在 x 分钟后突出显示一个单元格,但是如果在单元格中输入了值,它将不再突出显示? is this possible to write in VBA or something simpler like conditional formatting?这可以用 VBA 或更简单的方式(如条件格式)来编写吗?

so process im after is -> Cell value has been entered into B4, Enter, and in 5mins more or less, B5 will highlight a colour(maybe Red), but as soon as a value has been entered into B5, the highlight will disappear and restart that time again for cell B6 until value has been entered and so on所以处理im之后是->单元格值已经输入到B4中,回车,大约5分钟后,B5会突出显示一种颜色(可能是红色),但是一旦输入值到B5,突出显示就会消失并再次为单元格 B6 重新启动该时间,直到输入值,依此类推

Range i need to add this is B4:B168.我需要添加的范围是 B4:B168。 That range is in text format.该范围是文本格式。

Im really bad at VBA and am slowly getting better at it by learning how to do all this, any help is appreciated!我在 VBA 方面真的很糟糕,并且通过学习如何做这一切,我正在慢慢变得更好,感谢任何帮助!

I don't think it is possible to highlight a Microsoft Excel cell with Visual Basics after a certain amount of time according to the Official Microsoft Office Developers Center.根据官方 Microsoft Office 开发人员中心,我认为在一定时间后用 Visual Basics 突出显示 Microsoft Excel 单元是不可能的。

Here is the link if you want to look: https://docs.microsoft.com/en-us/office/vba/excel/Concepts/Cells-and-Ranges/highlight-the-active-cell-row-or-column如果您想查看以下链接: https://docs.microsoft.com/en-us/office/vba/excel/Concepts/Cells-and-Ranges/highlight-the-active-cell-row-or-柱子

Hope this was helpful!希望这有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM