PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Crashes Re: How do I compile a file name list on excel

Reply

Re: How do I compile a file name list on excel

 
Thread Tools Rate Thread
Old 14-04-2005, 12:56 PM   #1
Jan Karel Pieterse
Guest
 
Posts: n/a
Default Re: How do I compile a file name list on excel


Hi Mostyn,

> is
> there a way of impoting the file names from my documents direct to word or
> excel?
>


In Excel:

Define this name (Insert, Name, define):

Name: FileList
RefersTo:
=FILES($B$1)

Now type your full path and wildcards in cell B1:

C:\My Documents\*.xls

Now enter this formula into e.g. cell A1 and drag down:

=INDEX(FileList,ROW())

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off