Hi Karine,
ChDir will throw Error 76 if the directory does not exist.
On Error GoTo Reason
ChDir "D:\Tmp"
Reason:
If Err = 76 Then 'Path not found
MsgBox "The Directory does not exist."
Exit Sub
End If
--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a consulting basis.
Hope this helps
Doug Robbins - Word MVP