instead of

on error resume next


what would the code be?

on error goto (macro name)?

or?