Assuming the full path to the file is in variable strFilePath
If Len(Dir(strFilePath) > 0 Then
' File exists: delete it
Kill strFilePath
Else
' File does not exist
End if

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> how do i check to see if an excel book is in a folder?
>
[quoted text clipped - 6 lines]
>
> thanks for your help
jnewl - 15 Nov 2007 13:19 GMT
thanks much
> Assuming the full path to the file is in variable strFilePath
>
[quoted text clipped - 15 lines]
> >
> > thanks for your help