[AccessD] Check If File Exists In Directory - Cant Think

Gustav Brock gustav at cactus.dk
Tue Jun 29 03:12:41 CDT 2004


Hi paul

That would be

  If Len(Dir("C:\Branston\OWP_Template.xls", vbNormal)) > 0 then
    ...
  End If

/gustav


> To all,
 
> I hate to ask this but I can’t for the life of me think of the command to use to check if a file exists within a certain directory.  Basically I just need to check if OWP_Template.xls exists in the
> directory C:\Branston\
 
> Thanks for all your help
..
 
> Paul Hartland
 
> P.S. Feel free to come out with silly comments like you should change career to something like a bin man etc
..ha ha




More information about the AccessD mailing list