RecentFiles Property [Excel 2003 VBA Language Reference]

Returns a RecentFiles collection that represents the list of recently used files.

For information about returning a single object from a collection, see Returning an Object from a Collection .

Example

This example sets the maximum number of files in the list of recently used files to 6.

Application.RecentFiles.Maximum = 6

Applies to | Application Object