Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Select Folder - Simples Method

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders? or do
you use this method then remove the selected filename from the string?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Select Folder - Simples Method

application.FileDialog(msoFileDialogFolderPicker). Show
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Andibevan" wrote:

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders? or do
you use this method then remove the selected filename from the string?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Select Folder - Simples Method

Any chance you provide a couple more lines of code as an example?

"galimi" wrote in message
...
application.FileDialog(msoFileDialogFolderPicker). Show
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Andibevan" wrote:

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders? or

do
you use this method then remove the selected filename from the string?





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Select Folder - Simples Method

see my response


--
HTH

Bob Phillips

"Andibevan" wrote in message
...
Any chance you provide a couple more lines of code as an example?

"galimi" wrote in message
...
application.FileDialog(msoFileDialogFolderPicker). Show
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Andibevan" wrote:

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders? or

do
you use this method then remove the selected filename from the string?







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Select Folder - Simples Method

Thanks Bob - I had missed the fact that your code included part of galimi's.

The problem is that I need to use this code on Excel 2000. I have a
function I found that can be used to Get a Folder name but it involves a lot
of code and it seemed logical that there would be a simpler way.

Obviously this is only true from XP onwards.

Thanks

Andi


"Bob Phillips" wrote in message
...
see my response


--
HTH

Bob Phillips

"Andibevan" wrote in message
...
Any chance you provide a couple more lines of code as an example?

"galimi" wrote in message
...
application.FileDialog(msoFileDialogFolderPicker). Show
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Andibevan" wrote:

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders? or

do
you use this method then remove the selected filename from the string?










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Select Folder - Simples Method

I also included the API method for pre-XP systems.

--
HTH

Bob Phillips

"Andibevan" wrote in message
...
Thanks Bob - I had missed the fact that your code included part of

galimi's.

The problem is that I need to use this code on Excel 2000. I have a
function I found that can be used to Get a Folder name but it involves a

lot
of code and it seemed logical that there would be a simpler way.

Obviously this is only true from XP onwards.

Thanks

Andi


"Bob Phillips" wrote in message
...
see my response


--
HTH

Bob Phillips

"Andibevan" wrote in

message
...
Any chance you provide a couple more lines of code as an example?

"galimi" wrote in message
...
application.FileDialog(msoFileDialogFolderPicker). Show
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Andibevan" wrote:

What is the best method to allow the user to select a folder?

Is there an equivalent of the .GetOpenFilename function for Folders?

or
do
you use this method then remove the selected filename from the string?










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
transformar nĂºmero simples em datas correntes glasner Excel Discussion (Misc queries) 1 October 30th 06 08:49 PM
How to decide folder-depth or How to select more folders/subfolders (folder-tree) ? Subteam Excel Discussion (Misc queries) 2 May 7th 06 08:14 PM
allow user to select folder jbhoop Excel Discussion (Misc queries) 3 January 3rd 06 10:10 PM
Select Method of Sheets Brenda Meza via OfficeKB.com Excel Programming 2 May 20th 05 12:37 AM
Help with Select Case or Best Method Christina[_4_] Excel Programming 1 November 5th 03 06:15 PM


All times are GMT +1. The time now is 02:38 PM.

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"