m:
If you could find the code for the FSO
function that would be fantastic or even tell me where to search
and I will look it up myself.
The function I use is posted after my signature.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/
Public Function CheckForNetwork(strResource As String, _
bolIsFolder As Boolean, _
Optional bolClear As Boolean = False) As Boolean
Static objFSO As Object
If bolClear Then Set objFSO = Nothing: Exit Function
If objFSO Is Nothing Then
Set objFSO = CreateObject("Scripting.FileSystemObject")
End If
If bolIsFolder Then
CheckForNetwork = objFSO.FolderExists(strResource)
Else
CheckForNetwork = objFSO.FileExists(strResource)
End If
End Function