[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Coping File names into Excel

Posted on 2011-03-11
4
Medium Priority
?
343 Views
Last Modified: 2012-05-11
Dear All,
Can you help i have a user that wants to copy pdf file names into excel and sort them in order of the file names that way can anyone help on how to do this excel
Many thanks
0
Comment
Question by:PercivalM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:ovi_mihai
ID: 35106591
the simplest way is using Command Prompt

1 Go to your folder -> press Shift key and Right Click -> choose  "Open Command Window Here"

2 don't be scared of the black window... just type     dir    and press enter    (you can try better:  dir /b   command)

3 you will get the list of the files in that Folder.   Right Click and choose Mark then select the area with the names, it will turn white.. and then you press Enter

4 You can paste that list in excel  And this is it.


Expected problems depending on your system..

1 In the Shift+Right Click the "Open in Command Window" doesn't apear.
   - you will have to go to: Start -> Run -> type:  cmd     and press Enter
   - go to your folder with ex:   D:  then Enter  then use >  cd command
                 like  cd folder   than press Enter
         Example:       d:  <Enter>    cd myfolder  <enter>  cd mysubfolder
 - then type     dir

2. The selection in the cmd window includes the rows from the begining  try: dir /b


There is another way with VB script - which can read a folder directly and is more interactive
Press Alt+F11 and double click a sheet name - then you paste the code
Try http://vbaexpress.com/kb/getarticle.php?kb_id=837

You can download the example there at the bottom
0
 
LVL 1

Expert Comment

by:geff_chang
ID: 35107065
ovi_mihai's VBA tool does not work on Excel 2010.

Anyway, another free tool you can use is Directory Lister::
http://www.portablefreeware.com/index.php?id=1157#comments

It can generate a text file for a list of files in selected folders.

:: Then maybe you can just copy the results into Excel.
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 2000 total points
ID: 35187122
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question