R
Richard Edwards
Afternoon all,
Is it possible to create custom function that updates the time every minute?
I have the following code that will update the time:
Sub UpdateTime()
Application.OnTime Now + TimeValue("00:01:00"), "TimeUp"
End Sub
Sub TimeUp()
[a1] = Time
End Sub
But i have no idea how to wrap this (if it is even possible!) into a custom
function...
Thank you.
Richard
Is it possible to create custom function that updates the time every minute?
I have the following code that will update the time:
Sub UpdateTime()
Application.OnTime Now + TimeValue("00:01:00"), "TimeUp"
End Sub
Sub TimeUp()
[a1] = Time
End Sub
But i have no idea how to wrap this (if it is even possible!) into a custom
function...
Thank you.
Richard