ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Change of default file location (https://www.excelbanter.com/excel-discussion-misc-queries/177495-change-default-file-location.html)

rama

Change of default file location
 
Hi,

I am looking for help in MS excel:

I have two spreadsheets with names FileA & File B in directory structu
"D:\Check\"

I wrote a macro in "FileA" to import some specific data from "File B" and
paste in "FileA" and close "FileB".

When i run this macro, I will get a window saying "Select the file you want
to import" pointing to "My Documents" folder. But i want the window to be
pointing to the folder in which i have "FileA" i.e.., to the directory
structure "D:\Check\"..

Expecting your help on this.

Thanks
Rama

John Bundy

Change of default file location
 
Go to Tools-Options and select the general tab, near the bottom you can
enter any default path you would like beside the 'Default file location'.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Rama" wrote:

Hi,

I am looking for help in MS excel:

I have two spreadsheets with names FileA & File B in directory structu
"D:\Check\"

I wrote a macro in "FileA" to import some specific data from "File B" and
paste in "FileA" and close "FileB".

When i run this macro, I will get a window saying "Select the file you want
to import" pointing to "My Documents" folder. But i want the window to be
pointing to the folder in which i have "FileA" i.e.., to the directory
structure "D:\Check\"..

Expecting your help on this.

Thanks
Rama



All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com