WD: Macro: Displaying a List of Directories (121890)
The information in this article applies to:
- Microsoft Word for Windows 6.0
- Microsoft Word for Windows 6.0a
- Microsoft Word for Windows 6.0c
- Microsoft Word for Windows NT 6.0
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
- Microsoft Word for the Macintosh 6.0
- Microsoft Word for the Macintosh 6.0.1
- Microsoft Word 98 Macintosh Edition
- Microsoft Word 97 for Windows
This article was previously published under Q121890 SUMMARY
The Microsoft WordBasic CountDirectories() and GetDirectory$() functions
can be used to assemble a list of directory names within the current
directory.
For information and examples about how to perform this function in Word 97
for Windows or Word 98 Macintosh Edition, from the Visual Basic for
Applications Editor, click the Office Assistant, type Dir, click Search,
and then click to view "Dir."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base:
120802 Office: How to Add/Remove a Single Office Program or Component
REFERENCES
"Microsoft Word Developer's Kit," version 6.0, page 128-130
| Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
|---|
| Keywords: | kbhowto kbinfo kbmacro kbmacroexample KB121890 |
|---|
|