View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_2544_] Rick Rothstein \(MVP - VB\)[_2544_] is offline
external usenet poster
 
Posts: 1
Default A macro locates files on one PC but not another - why?

How do you know what directory the macro is running from? How are you
determining what that directory is in your code?

Rick

"dgild" wrote in message
...
An excel macro goes out to the same directory you are running the macro
file
from and retrieves information from all files that begin with 'DSS*'. It
runs perfectly on one person's PC and not on another. If the PC is
restarted
the macro will then run. Once it has run the first time it won't run the
2nd
time and sends back an excel error saying it can't locate any files.