RecentFile object (Excel)
Represents a file in the list of recently used files.
The RecentFile object is a member of the RecentFiles collection.
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.