Global.RecentFiles Property
Word Developer Reference |
Returns a RecentFiles collection that represents the most recently accessed files.
Syntax
expression.RecentFiles
expression Required. A variable that represents a Global object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example opens the first item in the RecentFiles collection (the first document name listed on the File menu).
Visual Basic for Applications |
---|
|
This example displays the name of each file in the RecentFiles collection.
Visual Basic for Applications |
---|
|
See Also