ID: Q78122
The information in this article applies to:
The following macro displays a listing of files for any specified directory. It also allows you to specify files you want to search for. For example, if you type a*.*, the macro searches for all files that begin with the letter "a." Microsoft Word for Windows places the list of files in a document. You can save this document for future reference.
Sub MAIN
 Insert  A$
 filecount = filecount + 1
 InsertPara
 a$ = Files$()
End Sub
"Microsoft Word For Windows and OS/2 Technical Reference", page 178
Kbcategory: kbusage kbmacro KBSubcategory: Additional query words: 1.0 1.1 1.1a 1.x 2.0 word6 winword winword2
Version           : 1.x 2.x 6.0 6.0a 6.0c
Platform          : WINDOWSLast Reviewed: July 30, 1997