RecentFile Object (Excel)

Represents a file in the list of recently used files.

Remarks

The RecentFile object is a member of the RecentFiles collection.

Example

Use RecentFiles(index), where index is the file number, to return a RecentFile object. The following example opens file two in the list of recently used files.

Application.RecentFiles(2).Open

See Also

Concepts

Excel Object Model Reference

RecentFile Object Members