Thread: Network error
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Angus Comber[_2_] Angus Comber[_2_] is offline
external usenet poster
 
Posts: 15
Default Network error

How about:

On Error Resume Next


code which causes error
select case err.number
case 111
do whatever
etc

Angus


"lin" wrote in message
...
Does nayone know how to trap a Windows Error
the error message contains this

Network I/O Error

I want to trap this error but the regular error handler
does not work.

Is there a way to trap System or Window Errors when they
occur.
thanks Sirron