Default File Path

S

skmguy

I was wondering if it was possible to change the default file path in the
save as text. I'm using a macro to copy data from one sheet to the next and
then save that sheet with the dates a user selected for the copied data. The
save always defaults to the directory the file is in. Can I change that
property? I've been able to edit the default name. Thanks for you help!
 
A

Alan Moseley

Within your macro (you will have to edit it using the VBA editor) there will
be a line such as:-

MyFileName=GetSaveAsFilename()

Change this to something like:-

MyFileName=GetSaveAsFilename("C:\MyDirectory")

Bob should be your uncle. Hope it helps.
 

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