How do I list a folder of "Excel file's names" to an Excel spdsht

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have approx 700 excel files that I want to copy the "names of", to a list
in one Excel spread sheet. (Easily?). Please help?
 
ROD

Several methods to accomplish this.......I like Tushar's best.

To add a "Print Directory" feature to Explorer, go to
this KB Article.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;q272623&

Or you can download Printfolder 1.2 from.....

http://no-nonsense-software.com/freeware/

I use PF 1.2 and find it to be more than adequate with custom features.

OR Go to DOS(Command) prompt and directory.
Type DIR >MYFILES.TXT

All the above create a *.TXT file which can be opened in Notepad or Excel.

One more method if you want to by-pass the *.TXT file and pull directly to
Excel is to use Tushar Mehta's Excel Add-in. This allows filtering and
sorting once you have the data in Excel.

http://www.tushar-mehta.com/ scroll down to Add-ins>Directory Listing.

Download the ZIP file and un-zip to your Office\Library folder.


Gord Dibben Excel MVP
 
One way is to open a DOS command window, change directories to the one you
are interested in, and use the DOS command

dir *.xls >list.txt

which will create a text file named list.txt containing a listing of all the
XLS files in that directory. You could then open it in Excel and parse it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top