Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Directory listing in word ?
Hi,
Is there any way of listing all the files in a directory and importing the list into a word doc. TIA Tony |
#2
|
|||
|
|||
No direct way. You could use a written vba procedure. See
http://word.mvps.org/FAQs/MacrosVBA/InsertFileNames.htm. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "TonyB" wrote in message ... Hi, Is there any way of listing all the files in a directory and importing the list into a word doc. TIA Tony |
#3
|
|||
|
|||
See http://word.mvps.org/FAQs/General/PrintDocList.htm and the Printfolders
utility at http://www.gmayor.com/downloads.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "TonyB" wrote in message ... Hi, Is there any way of listing all the files in a directory and importing the list into a word doc. TIA Tony |
#4
|
|||
|
|||
TonyB shared this with us in microsoft.public.word.newusers:
Hi, Is there any way of listing all the files in a directory and importing the list into a word doc. TIA Tony The simplest way: good old DIR. Go to a command prompt (Start -- Run; cmd) and type the following: dir /-p full_path_to_your_directory c:\temp\dir.txt Et voila: you now have a text file with all files from your directory. Dir has a lot of other useful switches. You can see them with dir /? -- Amedee Van Gasse using XanaNews 1.17.3.1 If it has an "X" in the name, it must be Linux? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Convert Word 2003 documents to WordPerfect formate | Microsoft Word Help | |||
1st word in heading flush left second word flush right | New Users | |||
letters - ask/fillin | New Users | |||
how to convert wordperfect 5.0 floppy files to word | Microsoft Word Help | |||
Is there a Fast Search in Word? | New Users |