Hi,
If the Attachmate session terminates for whatever reason, I get the following error message:
Microsoft Visual Basic
Run-time error '462':
The remote server machine does not exist or is unavailable
Is there any way of coding the macro so that when the session terminates, the macro will save the file and then exit the macro?
I tried something like:
If Sess0.Screen Is Nothing Then
Exit Sub
End If
but of course that doesn't work.
thanks
zach
If the Attachmate session terminates for whatever reason, I get the following error message:
Microsoft Visual Basic
Run-time error '462':
The remote server machine does not exist or is unavailable
Is there any way of coding the macro so that when the session terminates, the macro will save the file and then exit the macro?
I tried something like:
If Sess0.Screen Is Nothing Then
Exit Sub
End If
but of course that doesn't work.
thanks
zach