RecentFiles Object

Excel Developer Reference

Represents the list of recently used files.

Remarks

Each file is represented by a RecentFile object.

Example

Use the RecentFiles property to return the RecentFiles collection. The following example sets the maximum number of files in the list of recently used files.

Visual Basic for Applications
  Application.RecentFiles.Maximum = 6

See Also