#1   Report Post  
S.G.Pillai
 
Posts: n/a
Default Import file names

I am having nearly 5000 files in a folder and is it possible for me to just
import the file names in to excel format from the particular folder.
any help appreciated
thanks in advance
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

There's a couple of routines in this thread:

http://groups.google.co.uk/group/mic...a93c6e6 b7fca

or

http://snipurl.com/i03g

S.G.Pillai wrote:

I am having nearly 5000 files in a folder and is it possible for me to just
import the file names in to excel format from the particular folder.
any help appreciated
thanks in advance


--

Dave Peterson
  #3   Report Post  
S.G.Pillai
 
Posts: n/a
Default

Thanks,
But the problem is that I am not much aware of programing.So will you be
able to help me by giving me step by step instruction how to do this. I the
routine for the same but i am not sure how to run this. Pls guide me .
thanks


"Dave Peterson" wrote:

There's a couple of routines in this thread:

http://groups.google.co.uk/group/mic...a93c6e6 b7fca

or

http://snipurl.com/i03g

S.G.Pillai wrote:

I am having nearly 5000 files in a folder and is it possible for me to just
import the file names in to excel format from the particular folder.
any help appreciated
thanks in advance


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Since you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Alternately...

Get to a command prompt
type:
dir "c:\my documents\excel" c:\list.txt

Change the folder to the one you want.

Now back to excel and do:
File|open
point to c:\list.txt
and you'll be able to parse the input file the way you want.


S.G.Pillai wrote:

Thanks,
But the problem is that I am not much aware of programing.So will you be
able to help me by giving me step by step instruction how to do this. I the
routine for the same but i am not sure how to run this. Pls guide me .
thanks

"Dave Peterson" wrote:

There's a couple of routines in this thread:

http://groups.google.co.uk/group/mic...a93c6e6 b7fca

or

http://snipurl.com/i03g

S.G.Pillai wrote:

I am having nearly 5000 files in a folder and is it possible for me to just
import the file names in to excel format from the particular folder.
any help appreciated
thanks in advance


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

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...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-insDirectory Listing.

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


Gord Dibben Excel MVP

On Wed, 28 Sep 2005 06:36:07 -0700, "S.G.Pillai"
wrote:

Thanks,
But the problem is that I am not much aware of programing.So will you be
able to help me by giving me step by step instruction how to do this. I the
routine for the same but i am not sure how to run this. Pls guide me .
thanks


"Dave Peterson" wrote:

There's a couple of routines in this thread:

http://groups.google.co.uk/group/mic...a93c6e6 b7fca

or

http://snipurl.com/i03g

S.G.Pillai wrote:

I am having nearly 5000 files in a folder and is it possible for me to just
import the file names in to excel format from the particular folder.
any help appreciated
thanks in advance


--

Dave Peterson


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
import data from a text file jonny365 Excel Discussion (Misc queries) 0 September 6th 05 03:42 PM
import a 123 file Frank Excel Discussion (Misc queries) 1 May 19th 05 03:14 PM
How To Import Text File With No Delimiters? Sam Excel Discussion (Misc queries) 1 February 8th 05 05:54 PM
I have a Comma delimited text file how do I import in to excel an. trevord Excel Discussion (Misc queries) 1 February 3rd 05 11:41 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 11:21 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"