A macro locates files on one PC but not another - why?

D

dgild

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.
 
R

Rick Rothstein \(MVP - VB\)

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

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top