tonydev314
New Member
- Joined
- Oct 1, 2022
- Messages
- 26
- Office Version
- 2013
- Platform
- Windows
So I've a number of cells in my SS that I enter a future time into, or some code does, and currently when that time is reached I use conditional formatting to set the cell fill colour.
An aside here is that sometimes the cell doesn't update until i change another cell somewhere on the SS - even if it's just clicking in it and hitting Enter. This means sometimes I switch the SS to the foreground and the cells are not highlighted until I actually DO something with the SS.
What I'd like to do is in addition to the formatting, have an alert sound. I don't think there's an event for "Conditional Format Met" that I can hook into? Nor does it appear that the Selection Changed event is fired in this case.
What I'm considering is writing a timer that runs when the Workbook is opened, that goes through the cells of concern and registers the earliest future time with a timer. I then update this time if necessary whenever one of the values in the effected cells is changed, or when the timer fires, such that the timer is always set to run on the soonest future time in any of these cells.
Does this seem like a reasonable solution, or can anyone suggest anything better?
An aside here is that sometimes the cell doesn't update until i change another cell somewhere on the SS - even if it's just clicking in it and hitting Enter. This means sometimes I switch the SS to the foreground and the cells are not highlighted until I actually DO something with the SS.
What I'd like to do is in addition to the formatting, have an alert sound. I don't think there's an event for "Conditional Format Met" that I can hook into? Nor does it appear that the Selection Changed event is fired in this case.
What I'm considering is writing a timer that runs when the Workbook is opened, that goes through the cells of concern and registers the earliest future time with a timer. I then update this time if necessary whenever one of the values in the effected cells is changed, or when the timer fires, such that the timer is always set to run on the soonest future time in any of these cells.
Does this seem like a reasonable solution, or can anyone suggest anything better?