Your code produces an error?
Can you explain a bit further about the error trapping?
On behalf of Teylyn
If there are no time values to be found in your string then the formula will return a #VALUE! error.
Given that you are using 2003 then the error trapping is handled like this:=
=IF(ISERROR("formula"),"","formula")
or to avoid blank cells returning an error
=IF(A2="","","formula")
[EDIT]
To address Marvins' concerns about colons preceding the time I've added a formula to minimise the risk of errors
e.g.
Attachment updated
Bookmarks