Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Displaying Folder Structure and Files from WIndows Explorer to Excel

You could try using the shell command to execute the statement

DIR c:\whatever c:\temp\output

This will dump the output of the DIR command to a text file which you can do
with as you please.

Read this file into a worksheet and you're done.

Use DIR /s to scan subdirectories too.

There are several comand line switches to change the resulting output but it
may be best to take it unfiltered and then just pick off whatever you want.



--

Regards,


Bill Lunney
www.billlunney.com

"Tim Beckman" wrote in message
...
I'm looking for a way to specify a folder within Windows
Explorer and have that folder, subfolders, and files
displayed in an Excel sheet row-by-row. This will allow
for expansion and contraction of folders and modifications
of cells associated w/ folders and files. Any suggestions?



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
Cannot Open Excel 2007 Files From Windows Explorer David Excel Discussion (Misc queries) 0 October 10th 09 12:36 AM
Zipping my Excel Files and maintain the folder structure Sabine Excel Discussion (Misc queries) 2 August 10th 07 06:02 PM
Excel files won't open from Windows Explorer AnotherEd Excel Discussion (Misc queries) 3 July 20th 06 09:58 PM
Problem opening Excel files from Windows Explorer aj Excel Discussion (Misc queries) 2 January 30th 05 06:37 PM
Displaying Folder Structure and Files from WIndows Explorer to Excel Tom Ogilvy Excel Programming 0 July 16th 03 04:52 PM


All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"