ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Import file names (https://www.excelbanter.com/excel-discussion-misc-queries/47497-import-file-names.html)

S.G.Pillai

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

Dave Peterson

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

S.G.Pillai

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

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

Gord Dibben

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




All times are GMT +1. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com