View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
JLatham JLatham is offline
external usenet poster
 
Posts: 2,203
Default Opening files - macro

Oops, you wanted to OPEN the workbook, not change it's saved location. Same
deal just different command to use the myPath developed:

Workbooks.Open myPath

"Max2073" wrote:

Help Needed.

I had developed a macro that was used by myself, however now the macro needs
to be utilised by others.

The marco opens files, that have been exported from the corporate database.
The files are saved automatically to the users C Drive eg. C:\Documents and
Settings\"username €“ officer logged on"\help.xls

The only difference is the username in the file path.

Is there anyway that I can change the file path to automatically go to the
correct file, without having to create a different macros for each user.

Any help would be greatly appreciated.