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

Hello:

I am programming in Excel 2000 VBA, and using the dir function:

If dir(MYPATH, vbDirectory) = "" then
......
End If

I am getting "Bad File or Number" error although MYPATH variable have
consistent data.
I would appreciate any suggestion. My best regards.
Roberto