Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Default Path for File Open

I want the DialogBox open on the folder E:\Transit

Application.DefaultFilePath = "E:\Transit"
FileName = Application.GetOpenFilename("Text Files (*.txt), *.txt")

Why this code don't works?
Thank!

--
gilgil



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Default Path for File Open

ChDrive "E:\Transit"
ChDir "E:\Transit"
FileName = Application.GetOpenFilename("Text Files (*.txt), *.txt")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"gilgil" wrote in message
...
I want the DialogBox open on the folder E:\Transit

Application.DefaultFilePath = "E:\Transit"
FileName = Application.GetOpenFilename("Text Files (*.txt), *.txt")

Why this code don't works?
Thank!

--
gilgil





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Default Path for File Open

Thanks, it work OK
--
gilgil




"Bob Phillips" ha scritto nel messaggio
...
ChDrive "E:\Transit"
ChDir "E:\Transit"
FileName = Application.GetOpenFilename("Text Files (*.txt), *.txt")




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to open Workbook in default path. Richard Excel Discussion (Misc queries) 2 October 7th 07 02:24 PM
Default File Path Kevin Excel Programming 2 September 28th 04 05:09 PM
Applicaition Default File Path Greg Bloom Excel Programming 2 July 12th 04 06:37 PM
Default File Path papou[_9_] Excel Programming 0 July 8th 04 02:49 PM
Default File Path Tom Ogilvy Excel Programming 0 July 8th 04 02:38 PM


All times are GMT +1. The time now is 10:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"