If Len(Dir(strNewName)) > 0 Then
' File exists
Else
' File does not exist
End If

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>I have the following code which is using the copy and kill command to
> move files from one folder to another. It worked pretty good for
[quoted text clipped - 27 lines]
>
> Can anyone help me?
Mike - 23 May 2007 05:11 GMT
On 22 Mai, 17:11, "Douglas J. Steele"
<NOSPAM_djsteele@NOSPAM_canada.com> wrote:
> If Len(Dir(strNewName)) > 0 Then
> ' File exists
[quoted text clipped - 39 lines]
>
> - Zitierten Text anzeigen -
Hi Doug, thanks for the help. I posted my question unfortunately twice
(see URL).
Our IT department had some problems during the day so I couldn't see
what I had already posted and then posted it again.
So here's the URL:
http://groups.google.com/group/microsoft.public.access/browse_frm/thread/efcd9c1
26a7bdd07/708eadfd435887b0?lnk=gst&q=move+files&rnum=6#708eadfd435887b0
Unfortunately I don't know better how to refer to another thread.
Thanks again, Mike