G
GLT
Hi,
I have some VBA code that scans through some remote servers and reads backup
logs.
It works well, except when it scans one particular server, then I get the
following error:
5 Invalid Procedure Call or Argument
It does not ask me if I want to debug the code so I have no idea what is
causing this.
To make matters worse, I hardcoded the server that has this problem so that
the VBA code only processes this server (but does it many times over).
If I run it via the debuging window and step through the code, press F8 it
processes this server over and over perfectly.
If I run the code normally, it processes this server only once then fails
with this error.
Can anyone give me an insight as to what might be causing this, and how I
can trap this error?
Any help is always greatly appreciated...
Cheers,
GLT.
I have some VBA code that scans through some remote servers and reads backup
logs.
It works well, except when it scans one particular server, then I get the
following error:
5 Invalid Procedure Call or Argument
It does not ask me if I want to debug the code so I have no idea what is
causing this.
To make matters worse, I hardcoded the server that has this problem so that
the VBA code only processes this server (but does it many times over).
If I run it via the debuging window and step through the code, press F8 it
processes this server over and over perfectly.
If I run the code normally, it processes this server only once then fails
with this error.
Can anyone give me an insight as to what might be causing this, and how I
can trap this error?
Any help is always greatly appreciated...
Cheers,
GLT.