Here's the one to see if the file exists:

Code:
If Dir("C:\TestFolder\hello.txt") = "" Then
'do something        
Else
'do something else    
End If
Hope this helps
JK

Have a look at this thread for the other question
http://forums.vb-world.net/showthrea...threadid=31689

[Edited by kanejone on 10-03-2000 at 04:29 AM]