Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default GetOpenFilename FileFilter

I want to use the GetOpenFilename method to show me a list of the
subfolders in the current path. I've forgotten how to specify the file
filter to show subdirectories only. TIA, James

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default GetOpenFilename FileFilter

Try...
Application.FileDialog(msoFileDialogFolderPicker). Show
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Zone"
wrote in message
I want to use the GetOpenFilename method to show me a list of the
subfolders in the current path. I've forgotten how to specify the file
filter to show subdirectories only. TIA, James

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default GetOpenFilename FileFilter

Thanks, Jim. Much better.

Jim Cone wrote:
Try...
Application.FileDialog(msoFileDialogFolderPicker). Show
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Zone"
wrote in message
I want to use the GetOpenFilename method to show me a list of the
subfolders in the current path. I've forgotten how to specify the file
filter to show subdirectories only. TIA, James


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default GetOpenFilename FileFilter

If you need to support versions of Excel before 2002 (??), then
msoFileDialogFolderPicker is not available.
Look into using the SHBrowseForFolder API.
http://vbnet.mvps.org/code/browse/browseadv.htm

NickHK

"Zone" wrote in message
ups.com...
Thanks, Jim. Much better.

Jim Cone wrote:
Try...
Application.FileDialog(msoFileDialogFolderPicker). Show
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Zone"
wrote in message
I want to use the GetOpenFilename method to show me a list of the
subfolders in the current path. I've forgotten how to specify the file
filter to show subdirectories only. TIA, James




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default GetOpenFilename FileFilter

Thank you, Nick. I thought about backwards compatibility, but the
FolderPicker is so much easier to use, I think I'll go with that. I'll
look at the link, though.
Regards, James
NickHK wrote:
If you need to support versions of Excel before 2002 (??), then
msoFileDialogFolderPicker is not available.
Look into using the SHBrowseForFolder API.
http://vbnet.mvps.org/code/browse/browseadv.htm

NickHK

"Zone" wrote in message
ups.com...
Thanks, Jim. Much better.

Jim Cone wrote:
Try...
Application.FileDialog(msoFileDialogFolderPicker). Show
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Zone"
wrote in message
I want to use the GetOpenFilename method to show me a list of the
subfolders in the current path. I've forgotten how to specify the file
filter to show subdirectories only. TIA, James





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
vba documentation and filefilter property on os x simon Excel Programming 0 March 22nd 06 05:04 PM
GetOpenFileName help Leith Ross[_12_] Excel Programming 0 April 8th 05 10:14 PM
GetOpenFilename Roman Excel Programming 5 February 8th 05 10:20 PM
GetOpenFileName bug Chuck Waterfield Excel Programming 5 October 6th 04 04:02 PM
GetOpenFileName Greg Bloom Excel Programming 2 February 9th 04 04:09 PM


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

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

About Us

"It's about Microsoft Excel"