Oct 8, 2001 #1 ziwacky Programmer Jun 27, 2000 43 US Hi there, Is there any function that will tell me if the user entry (to a textbox, so it is a string) is a file. Maybe something like IsFile(txtFile). Thanks, Z
Hi there, Is there any function that will tell me if the user entry (to a textbox, so it is a string) is a file. Maybe something like IsFile(txtFile). Thanks, Z
Oct 8, 2001 #2 sdimov Programmer Jul 20, 2001 22 US Dim sFile as String sFile="c:\temp\MyFile.txt" If Len(Dir(sFile))>0 Then 'File exists Else 'File does not exist End If Upvote 0 Downvote
Dim sFile as String sFile="c:\temp\MyFile.txt" If Len(Dir(sFile))>0 Then 'File exists Else 'File does not exist End If