View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alejandro[_4_] Alejandro[_4_] is offline
external usenet poster
 
Posts: 3
Default Local Directory File Access

Hello all,

I am trying to get a macro to open a file in the same directory as the xl
file being launched. The code I am using is:
Workbooks.Open Filename:="DB-Data.xls"

For some reason it doesn't want to find it [although the help file says that
it should]. If I give it a full path, it has no problem. Is it possible to
do this? My goal is to get these workbooks available on CD for people to
work at home.

Thanks,
-=Alejandro