Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel - my 'Default File Location' is C:\Data
In my VBA Code: I set the Application.DefaultFilePath = "C:\OE" I then set File_Name = Application.GetOpenFilename(filefilter:=Filt, FilterIndex:=FilterIndex, Title:=Title) But it always goes to the last data path that was used to open a file in Excel. I can not get the new default path (C:\OE) to work in the the GetOpenFileName. Thanks Greg Bloom |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Greg,
In my VBA Code: I set the Application.DefaultFilePath = "C:\OE" I then set File_Name = Application.GetOpenFilename(filefilter:=Filt, FilterIndex:=FilterIndex, Title:=Title) Use: Chdrive("C:") ChDir("C:\Data") then do the getopenfilename Regards, Jan Karel Pieterse Excel MVP www.jkp-ads.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks!
Greg Bloom *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to print file path in footer as default option for all files? | Excel Worksheet Functions | |||
Formula too long - new file path is shorter than old file path - Excel 2003 | Excel Worksheet Functions | |||
Setiiing up file name & path as a default setting on all sheets/ta | Excel Discussion (Misc queries) | |||
Default File Path | Excel Programming | |||
Default File Path | Excel Programming |