Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macro to list file name and path in separate cells

Hello
Can anyone help me with a macro that will go to a particular folder in
Windows explorer and list all the files in one column of an excel
spreadsheet and the path to the file from that folder in another
column. I need this to work on sub-directories so effectively creating
an inventory of files and their paths.

Any ideas or help will be much appreciated!

All the best
Redge

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default macro to list file name and path in separate cells

Redge,

Sounds like the free Excel add-in "List Files" will do what you want.
Download from here...
http://www.realezsites.com/bus/primitivesoftware

Jim Cone
San Francisco, USA


wrote in message...
Hello
Can anyone help me with a macro that will go to a particular folder in
Windows explorer and list all the files in one column of an excel
spreadsheet and the path to the file from that folder in another
column. I need this to work on sub-directories so effectively creating
an inventory of files and their paths.
Any ideas or help will be much appreciated!
All the best
Redge
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macro to list file name and path in separate cells

That sound very useful Jim - I will give it a try many thanks!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macro to list file name and path in separate cells

It certainly does the job - how easy would it be to adapt the macro to
display the documents' built in properties alongside in addtional
columns?

Thanks
Redge

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default macro to list file name and path in separate cells

Redge,

It would not be easy to add DocumentProperties to the
List Files program.

If you want a song list, John Walkenbach has a free workbook
that will display all of your MP3 files and most of the information
about them...
http://www.j-walk.com/ss/excel/tips/tip103.htm

If you actually want the document properties, then Chip Pearson
provides the VBA code here...
http://www.cpearson.com/excel/docprop.htm

Regards,
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



wrote in message ups.com...
It certainly does the job - how easy would it be to adapt the macro to
display the documents' built in properties alongside in addtional
columns?
Thanks
Redge

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
File Path - Macro Max2073 Excel Worksheet Functions 1 December 6th 09 11:57 AM
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
Pasting CSV list into separate cells... jmboggiano Excel Discussion (Misc queries) 1 March 10th 05 05:02 PM
File Path Macro JenO Excel Programming 2 September 27th 04 04:33 PM
VBA - Reading the file name and path from cells fazl Excel Programming 1 January 16th 04 07:53 PM


All times are GMT +1. The time now is 10:36 AM.

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"