ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   GetOpenFileName help (https://www.excelbanter.com/excel-programming/327113-re-getopenfilename-help.html)

Leith Ross[_12_]

GetOpenFileName help
 

Hello Bhofsetz,

Use the VBA command *ChDir* to set the default directory. Specifiy the
disk and path you want as a string.

EXAMPLE:
The current directory setting is C:\My Documents

This will change the default directory for Windows to...
ChDir("D:\My Files\Excel Programs")

Hope this answers your question,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=361261



All times are GMT +1. The time now is 03:23 AM.

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