View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
PaulD PaulD is offline
external usenet poster
 
Posts: 92
Default Open file - How to test the path ?


"PaulD" <nospam wrote in message
...
:
:
: if Dir(c:\temp) = "" then
: error message 1
: elseif Dir(c:\temp\file.dbf ) = "" then
: error message 2
: else
: macro execution
: endif
:
oops, forgot the quotes around the file name / directory