Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a RecentFiles collection that represents the list of recently used files.
expression.RecentFiles
expression A variable that represents an Application object.
This example sets the maximum number of files in the list of recently used files to 6.
Application.RecentFiles.Maximum = 6
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.