Thread: error handling
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
James Cornthwaite James Cornthwaite is offline
external usenet poster
 
Posts: 53
Default error handling

Could somebody please explain what the following fragment of code does with
a function i've seen.


.............................
On error resume next

cellreference.comment.delete

on error goto 0

..................


goto ??????


I think i'm correct in thinking the "on error resume next" statement means
any errors after this statement and before the end of the function should be
ignored.
for example caused by the delete of a non existent comment.

But whats the goto all about?

Thanks
James