View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
William Benson William Benson is offline
external usenet poster
 
Posts: 121
Default Bad File error: Need Help

Did you put a break on it and see for sure what the value of MYPATH is
and/or debug.print it to the immediate window? I have tested it and it
should work if the directory exists, unless maybe it is an attribute issue
(like it is a hidden folder) but then it should at least show null.

Sorry I cannot help much more, if you do not get an answer soon, maybe
repost the problem.

"Roberto Carabajal" wrote in
message ...
MYPATH contains the name of a folder C:\spl
This folder exists.
There are no quotes in the data.
Roberto