Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default file names

Hi,

You could also try this. Press Ctrl+Fe New. Give the name as file_list.
In the refers to box, type the path of the directors from where you want the
list of files such as:

=FILES("D:\Documents\Material\sessions\docs\*.*")

Now in G1, enter the following formula

=index(file_list,row()) and copy down

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Mr Widget" wrote in message
...
Is there a way I can collect multiple file names from within a folder and
get
them to display within a excel. If it involves using a macro I haven't
been
successful in getting one working yet.

For example if I had music file names and wanted them to display in cells
of
the spreadsheet.


 
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 Excel file get error with file names that have spaces in the Kozmo Setting up and Configuration of Excel 6 October 29th 08 02:51 AM
file names Esradekan Excel Worksheet Functions 4 July 27th 08 09:54 PM
File Names [email protected] Excel Worksheet Functions 1 August 29th 06 12:46 PM
EXCEL97 FILE NAMES TRUNCATED TO THE FIRST LETTER IN THE FILE NAME Geoff Porter New Users to Excel 6 May 25th 06 08:31 PM
File Names garyntn Excel Worksheet Functions 1 May 5th 06 02:39 PM


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