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

I need to place a combo box on a form to retrieve specific files. How can I
give a path in a ControlSource?
Many thanks for any ideas.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default file retrieval

Control source is used to set a link between a cell and the value of the
combobox. What are you trying to do?

How does this relate to retrieving specific files?

--
Regards,
Tom Ogilvy





"Myriam" wrote in message
...
I need to place a combo box on a form to retrieve specific files. How can

I
give a path in a ControlSource?
Many thanks for any ideas.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default file retrieval

I created a form where first, I select a Year from a drop down list.
The bound cell for this list box is cell C1, on Active Workbook.Worsheets (2)
I concatenate this selection C1 with the path in cell C2. Utilizing this selected path, I want to see a drop down list (or combo) to be able to scroll down and see all the files in the subfolder (without the path being visible), and then on selection and open the selected file or files.

Kind of xlDialogOpen, restricting the values to files only.

By the way, I am using VBA, Excel 2000

Thanks! I really appreciate any help you can give me.




"Tom Ogilvy" wrote:

Control source is used to set a link between a cell and the value of the
combobox. What are you trying to do?

How does this relate to retrieving specific files?

--
Regards,
Tom Ogilvy





"Myriam" wrote in message
...
I need to place a combo box on a form to retrieve specific files. How can

I
give a path in a ControlSource?
Many thanks for any ideas.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default file retrieval

Looks like you are using Dave Peterson's code.

--
Regards,
Tom Ogilvy

"Myriam" wrote in message
...
I created a form where first, I select a Year from a drop down list.
The bound cell for this list box is cell C1, on Active Workbook.Worsheets

(2)
I concatenate this selection C1 with the path in cell C2. Utilizing this

selected path, I want to see a drop down list (or combo) to be able to
scroll down and see all the files in the subfolder (without the path being
visible), and then on selection and open the selected file or files.

Kind of xlDialogOpen, restricting the values to files only.

By the way, I am using VBA, Excel 2000

Thanks! I really appreciate any help you can give me.




"Tom Ogilvy" wrote:

Control source is used to set a link between a cell and the value of the
combobox. What are you trying to do?

How does this relate to retrieving specific files?

--
Regards,
Tom Ogilvy





"Myriam" wrote in message
...
I need to place a combo box on a form to retrieve specific files. How

can
I
give a path in a ControlSource?
Many thanks for any ideas.






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
FTP information retrieval wintermute Excel Worksheet Functions 1 June 13th 08 10:10 AM
File Retrieval Gulf South Excel Discussion (Misc queries) 6 May 7th 08 08:24 PM
Row retrieval HELP!!! keinspahr Excel Discussion (Misc queries) 4 November 12th 07 02:40 PM
MAC Retrieval sparx Excel Discussion (Misc queries) 0 March 19th 06 08:51 PM
Automated file name retrieval and updates Ginger Excel Worksheet Functions 4 September 7th 05 08:11 PM


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