Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open File
When using the GetOpenFileName method, is there a way to
set the directory the Open dialog box will start in? I will have a default path for all files the user will need to open. Thanks! Kevin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open File
I found it:
Application.DefaultFilePath = "c:\mypath" -----Original Message----- When using the GetOpenFileName method, is there a way to set the directory the Open dialog box will start in? I will have a default path for all files the user will need to open. Thanks! Kevin . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open File
GetOpenFilename opens to whatever the current path is on the current drive.
So you could use ChDrive and ChDir to set these. -- Jim Rech Excel MVP "Kevin" wrote in message ... | When using the GetOpenFileName method, is there a way to | set the directory the Open dialog box will start in? I | will have a default path for all files the user will need | to open. | | Thanks! | | Kevin |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open File
Nope, you missed it. This only sets where excel looks when you start it.
See Jim Rech's post. -- Regards, Tom Ogilvy "Kevin" wrote in message ... I found it: Application.DefaultFilePath = "c:\mypath" -----Original Message----- When using the GetOpenFileName method, is there a way to set the directory the Open dialog box will start in? I will have a default path for all files the user will need to open. Thanks! Kevin . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Unable to open a 82 KB XLSM file due to "Too many different cellformats" & "Converter failed to open the file." errors. | Excel Discussion (Misc queries) | |||
Unable to open a 82 KB XLSM file due to "Too many different cellformats" & "Converter failed to open the file." errors. | Setting up and Configuration of Excel | |||
excel 2003 saved file will not open without a blank workbook open | Excel Discussion (Misc queries) | |||
In Excel - Use Windows Explorer instead of File Open to open file | Excel Discussion (Misc queries) | |||
file open via IE hyperlink causes already open files to shrink and tile | Setting up and Configuration of Excel |