View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Johan Johan is offline
external usenet poster
 
Posts: 43
Default On error resume next

I have a macro which call other macroes.
In the end of the code it "cleans up" with the following code:

on error resume next
c:\arbeidsliste\sjekk.txt
c:\arbeidsliste\sjekk.bat
c:\arbeidsliste\send.bat
on error goto 0

The problem is that if one of the file is missing the code stop and display
error message.

Any one have a solution?

Johan