#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Open Folder


"Pedro" wrote in message news:...
What code should I write to open in a box like the File\Open a specific
folder?

Thanks
PEdro




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Open Folder

Chdrive "C"
ChDir "C:\MyFolder\MyFolder2"
fName = Application.GetOpenFileName( arguments)

See help on GetOpenFileName for list of arguments and formats.

--
Regards,
Tom Ogilvy

"Pedro" wrote in message
...

"Pedro" wrote in message news:...
What code should I write to open in a box like the File\Open a specific
folder?

Thanks
PEdro






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
Open a Folder danpt Excel Discussion (Misc queries) 11 October 7th 08 02:25 PM
Open each file in a folder and closing it Ayo Excel Discussion (Misc queries) 3 September 22nd 08 09:03 PM
VBA - open folder Jeff Excel Discussion (Misc queries) 1 March 23rd 07 01:33 AM
Open Folder Pedro Excel Programming 1 August 25th 03 05:39 PM
open all files in a folder and ... walt Excel Programming 5 August 7th 03 02:23 AM


All times are GMT +1. The time now is 11:44 PM.

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"