#1   Report Post  
PeterO
 
Posts: n/a
Default List Files in excel


*List Files in excel* Hi Guys,

I need some help, I am new to VB and I am looking to create an excel
sheet that I can point at a folder and and create a file listing from
it. For example:

File Name, Creation date, file type, file size.

I would like to have just one button that asks me to point a the folder
and it does the rest.

any advice would be really helpful

Peter


--
PeterO
------------------------------------------------------------------------
PeterO's Profile: http://www.excelforum.com/member.php...o&userid=24313
View this thread: http://www.excelforum.com/showthread...hreadid=379188

  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default


Well, you won't evenhave to leave the ExcelForum for the code you need.
It's right here . . . . .

http://tinyurl.com/7djq3

If that link gives you any trouble, then...from any of the forum
pages:
Select the ExcelTips tab
Select "Files, Workbook, and Worksheets in VBA " from the list
Select "List files in a folder with Office 97 or later using VBA in
Microsoft Excel" from the next list.

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=379188

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Peter

Why re-invent the wheel?

One method to 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-insDirectory Listing.

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

Load through ToolsAdd-ins to get a Menu Item added to your Toolbar for
one-click service.


Gord Dibben Excel MVP

On Tue, 14 Jun 2005 17:54:51 -0500, PeterO
wrote:


*List Files in excel* Hi Guys,

I need some help, I am new to VB and I am looking to create an excel
sheet that I can point at a folder and and create a file listing from
it. For example:

File Name, Creation date, file type, file size.

I would like to have just one button that asks me to point a the folder
and it does the rest.

any advice would be really helpful

Peter


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
Excel List range, filter arrows disappeared andrew Excel Discussion (Misc queries) 3 April 1st 05 11:30 PM
Excel opening all files in root of C: when launching yarbrough2 Excel Discussion (Misc queries) 1 March 31st 05 12:08 AM
Excel files stored on a different server Sri Excel Discussion (Misc queries) 0 February 4th 05 11:25 AM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel Files Won't Open From Shortcut ConfusedNHouston Excel Discussion (Misc queries) 5 December 31st 04 06:25 PM


All times are GMT +1. The time now is 07:27 AM.

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"