Re: Watch cell?
I'm still a little confused on what your doing. To activate the change event code on "Sheet1" you have to physically change something on the worksheet.
So if you want to run the change code you will need to do something like this....
'Sheet 1 code module
Private Sub Worksheet_Change(ByVal Target As Range)
MsgBox "I have been activated by code in module 1"
End Sub
Module 1 Code:
Sub Test()
'Your Sort Code Here
Sheets("Sheet1").Range("Z1") = "Trigger" 'Changing a cell on Sheet1 will activate the change event code....
End Sub
If you don't want to change a value on Sheet1, there are many different types of events that you can use...i.e. Selection Change, Activate, DeActivate etc.... in addition you can also change the event code to run a macro from it like this:
Private Sub Worksheet_Change(ByVal Target As Range)
Call MyMacroNameHere
End Sub
For formatting times you'll need to convert the times into different segments. Days, Hours & Minutes Then use a series of if statements to determine how to handle the plural... See this thread for reference: http://www.ozgrid.com/forum/showthread.php?t=25985
you can conditionally format your cells to highlight different cells based on different criteria