Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Read Files from a folder into an Excel drop down list or Combo Box

Can anyone point me to a link that might have an explanation of how to read a
folder and present the file names in a drop down list or a combo box ?
Thanks for any help you can provide.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Read Files from a folder into an Excel drop down list or Combo Box



"dhstein" wrote:

Can anyone point me to a link that might have an explanation of how to read a
folder and present the file names in a drop down list or a combo box ?
Thanks for any help you can provide.

I figured it out - no need to respond

  #3   Report Post  
Posted to microsoft.public.excel.misc
JB JB is offline
external usenet poster
 
Posts: 115
Default Read Files from a folder into an Excel drop down list or ComboBox

With ComboBox:

Private Sub ComboBox1_DropButtonClick()
folder = ThisWorkbook.Path & "\" 'Adapt
file = Dir(folder & "*.*") ' first file
Do While file < ""
Me.ComboBox1.AddItem file
file = Dir ' next file
Loop
End Sub

http://cjoint.com/?bssO7gdJrj

JB
http://boisgontierjacques.free.fr

On 16 jan, 11:15, dhstein wrote:
"dhstein" wrote:
Can anyone point me to a link that might have an explanation of how to read a
folder and present the file names in a drop down list or a combo box ? *
Thanks for any help you can provide.


I figured it out - no need to respond- Masquer le texte des messages précédents -


- Afficher le texte des messages précédents -


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
Creating a List of the files in a folder in excel [email protected] Excel Discussion (Misc queries) 2 November 27th 06 08:39 PM
How do i get an cell to read from a drop-down/combo box? Sez Excel Discussion (Misc queries) 4 March 3rd 06 12:22 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Excel Discussion (Misc queries) 1 January 24th 06 03:28 PM
how do i print a list of files in a folder in excel? mikie New Users to Excel 4 June 6th 05 04:27 AM
How do I create a combo drop down list in Excel? Ron Excel Worksheet Functions 1 April 15th 05 08:29 PM


All times are GMT +1. The time now is 06:28 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"