Yep Eugene,
No "On Error Resume next".
As this is the advanced scripting forum, I presume you wanted to show us your script?